{"id":"CVE-2020-35901","aliases":["CVE-2020-35901","GHSA-v3j6-xf77-8r9c","RUSTSEC-2020-0048"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in actix-http","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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<&mut Self>` instead of `&mut self`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate actix-http versiones anteriores a 2.0.0-alpha.1 para Rust.&#xa0;Se presenta un uso de la memoria previamente liberada en la función BodyStream.","source":"nvd"}],"published":"2020-01-24T12:00:00.000Z","modified":"2026-06-17T03:14:34.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.0"}],"ecosystem":"crates.io","package":"actix-http","purl":"pkg:cargo/actix-http","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"2.0.0-alpha.1"}],"ecosystem":"crates.io","package":"actix-http","purl":"pkg:cargo/actix-http","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"1.0.1"}],"vendor":"actix","product":"actix-http","cpe":"cpe:2.3:a:actix:actix-http:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0048.html","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35901","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/actix/actix-web/issues/1321","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/actix/actix-web","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/actix-http","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35901","url":"https://www.cve.org/CVERecord?id=CVE-2020-35901","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.125Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v3j6-xf77-8r9c","url":"https://github.com/advisories/GHSA-v3j6-xf77-8r9c","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:38.366Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0048","url":"https://rustsec.org/advisories/RUSTSEC-2020-0048.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:38.366Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35901","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35901","licence":"Public domain","modified":"2026-06-17T03:14:34.127Z"}],"updatedAt":"2026-11-25T22:57:56.638Z","epss":{"score":0.01423,"percentile":0.73672,"date":"2026-12-01T12:00:22.000Z"}}