{"id":"CVE-2020-35901","aliases":["EUVD-2021-1881","GHSA-v3j6-xf77-8r9c","RUSTSEC-2020-0048"],"status":"published","title":"Use-after-free in actix-http","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01423,"percentile":0.73108,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2020-01-24T12:00:00Z","modified":"2026-10-24T10:30:48Z","fixes":[{"ecosystem":"crates.io","package":"actix-http","fixed_in":["2.0.0","2.0.0-alpha.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"actix-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"actix-http","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"actix-http","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.0.0-alpha.1"}]}]}],"products":[{"vendor":"actix","product":"actix-http"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0048.html","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35901","tags":["advisory"]},{"url":"https://github.com/actix/actix-web/issues/1321","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-v3j6-xf77-8r9c"},{"url":"https://github.com/actix/actix-web","tags":["package"]},{"url":"https://crates.io/crates/actix-http","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35901","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2020-12-31T08:22:31Z","modified":"2024-08-04T17:16:13.125Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1881","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2020-12-31T08:22:31Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-v3j6-xf77-8r9c","title":"Use-after-free in actix-http","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2021-08-25T20:49:39Z","modified":"2023-01-11T05:05:59Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2020-35901","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2020-12-31T09:15:14.88Z","modified":"2026-06-17T03:14:34.127Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35901","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2020-12-31T09:15:14.88Z","modified":"2026-10-24T10:30:48.298060044Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-v3j6-xf77-8r9c","title":"Use-after-free in actix-http","description":"An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. There is a use-after-free in BodyStream.","status":"published","published":"2021-08-25T20:49:39Z","modified":"2023-11-08T04:03:38.366013Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"RUSTSEC-2020-0048","title":"Use-after-free in BodyStream due to lack of pinning","description":"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\u0026mut Self\u003e` instead of `\u0026mut self`.","status":"published","published":"2020-01-24T12:00:00Z","modified":"2023-11-08T04:03:38.366013Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
