{"id":"RUSTSEC-2020-0048","summary":"Use-after-free in BodyStream due to lack of pinning","details":"Affected versions of this crate did not require the buffer wrapped in `BodyStream` to be pinned,\nbut treated it as if it had a fixed location in memory. This may result in a use-after-free.\n \nThe flaw was corrected by making the trait `MessageBody` require `Unpin`\nand making `poll_next()` function accept `Pin\u003c&mut Self\u003e` instead of `&mut self`.","aliases":["CVE-2020-35901","GHSA-v3j6-xf77-8r9c"],"modified":"2023-11-08T04:03:38.366013Z","published":"2020-01-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/actix-http"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0048.html"},{"type":"REPORT","url":"https://github.com/actix/actix-web/issues/1321"}],"affected":[{"package":{"name":"actix-http","ecosystem":"crates.io","purl":"pkg:cargo/actix-http"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.0.0-alpha.1"}]}],"ecosystem_specific":{"affects":{"functions":[],"os":[],"arch":[]},"affected_functions":null},"database_specific":{"categories":["memory-corruption"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0048.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}