{"id":"CVE-2019-25009","aliases":["DEBIAN-CVE-2019-25009","EUVD-2021-1602","GHSA-6rhx-hqxm-8p36","RUSTSEC-2019-0034","UBUNTU-CVE-2019-25009"],"status":"published","title":"Double free in http","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0185,"percentile":0.79283,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2019-11-16T12:00:00Z","modified":"2026-10-24T10:30:33Z","fixes":[{"ecosystem":"crates.io","package":"http","fixed_in":["0.1.20"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-http","fixed_in":["0.1.21-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-http","fixed_in":["0.1.21-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-http","fixed_in":["0.1.21-0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.20"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.21-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.21-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.21-0.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"http","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.20"}]}]},{"source":"osv","ecosystem":"crates.io","package":"http","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.20"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.17-1","0.1.19-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.7-1","0.2.9-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-1","1.4.0-1","1.5.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0-1","1.3.1-1"]}],"products":[{"vendor":"hyper","product":"http"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0034.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25009","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6rhx-hqxm-8p36"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-25009","tags":["advisory"]},{"url":"https://crates.io/crates/http","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-25009","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-25009","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-25009","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T08:31:47Z","modified":"2024-08-05T03:00:18.775Z","updated_at":"2026-11-02T14:20:19.399352Z"}],"euvd":[{"id":"EUVD-2021-1602","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T08:31:47Z","modified":"2024-08-05T03:00:18Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-6rhx-hqxm-8p36","title":"Double free in http","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2021-08-25T20:46:44Z","modified":"2023-01-11T05:05:48Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2019-25009","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T10:15:14.627Z","modified":"2026-06-17T02:31:28.287Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:05:48.502374Z"}],"osv":[{"id":"CVE-2019-25009","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T10:15:14.627Z","modified":"2026-10-24T10:30:33.342654081Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"DEBIAN-CVE-2019-25009","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T10:15:14.627Z","modified":"2026-09-21T07:02:37.109776437Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"GHSA-6rhx-hqxm-8p36","title":"Double free in http","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2021-08-25T20:46:44Z","modified":"2026-09-10T03:49:07.339415468Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"RUSTSEC-2019-0034","title":"HeaderMap::Drain API is unsound","description":"Affected versions of this crate incorrectly used raw pointer,\nwhich introduced unsoundness in its public safe API.\n\n[Failing to drop the Drain struct causes double-free](https://github.com/hyperium/http/issues/354),\nand [it is possible to violate Rust's alias rule and cause data race with Drain's Iterator implementation](https://github.com/hyperium/http/issues/355).\n\nThe flaw was corrected in 0.1.20 release of `http` crate.","status":"published","published":"2019-11-16T12:00:00Z","modified":"2023-11-08T04:01:32.355317Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"},{"id":"UBUNTU-CVE-2019-25009","description":"An issue was discovered in the http crate before 0.1.20 for Rust. The HeaderMap::Drain API can use a raw pointer, defeating soundness.","status":"published","published":"2020-12-31T10:15:00Z","modified":"2026-10-17T12:56:07.948606434Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:21.213407Z"}]}}
