{"id":"RUSTSEC-2019-0034","revision":"587e26b2c2d742fbb26525d3dbfec191","records":[{"revision":"587e26b2c2d742fbb26525d3dbfec191","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2019-0034","aliases":["CVE-2019-25009","GHSA-6rhx-hqxm-8p36"],"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.","state":0,"publishedAt":"2019-11-16T12:00:00+00:00","modifiedAt":"2023-11-08T04:01:32.355317+00:00","affected":[{"ecosystem":"crates.io","name":"http","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.1.20"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null}],"references":["https://crates.io/crates/http","https://rustsec.org/advisories/RUSTSEC-2019-0034.html"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2019-0034","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2019-0034","identifiers":["RUSTSEC-2019-0034","CVE-2019-25009","GHSA-6rhx-hqxm-8p36"]},"retained":false,"historicalAffected":[]}],"coverage":[]}