{"id":"RUSTSEC-2020-0049","summary":"Use-after-free in Framed due to lack of pinning","details":"Affected versions of this crate did not require the buffer wrapped in `Framed` 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 affected functions accept `Pin\u003c&mut Self\u003e` instead of `&mut self`.","aliases":["CVE-2020-35902","GHSA-rqgx-hpg4-456r"],"modified":"2023-11-08T04:03:38.426701Z","published":"2020-01-30T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/actix-codec"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0049.html"},{"type":"REPORT","url":"https://github.com/actix/actix-net/issues/91"}],"affected":[{"package":{"name":"actix-codec","ecosystem":"crates.io","purl":"pkg:cargo/actix-codec"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0-beta.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0049.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}