{"id":"CVE-2021-29935","published":"2021-04-01T04:23:59Z","modified":"2024-08-03T22:18:03Z","title":"An issue was discovered in the rocket crate before 0.4.7 for Rust. uri::Formatter can have a use-after-free if a…","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in the rocket crate before 0.4.7 for Rust. uri::Formatter can have a use-after-free if a user-provided function panics.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01025,"percentile":0.64393,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0044.html","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":12.88}]},"affected":[{"ecosystem":"crates.io","package":"rocket","vulnerableRanges":["<0.4.7",">=0.0.0-0, <0.4.7"],"patched":["0.4.7"],"from":["GHSA-vcw4-8ph6-7vw8","RUSTSEC-2021-0044"],"provenance":"source"}],"summary":{"text":"The flaw is a use-after-free in uri::Formatter of the rocket crate for Rust, affecting versions before 0.4.7. An attacker can trigger it when a user-provided function panics, so the conditions involve whatever code path supplies that function to the formatter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:38Z"},"euvd":{"id":"EUVD-2021-1890","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-35882","published":"2020-12-31","fixed":"0.4.5","kev":false,"link":{"from":"CVE-2020-35882","to":"CVE-2021-29935","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:rocket","fromFixed":"0.4.5","toFixed":"0.4.7","daysApart":91}]}},{"cve":"CVE-2021-29935","published":"2021-04-01","fixed":"0.4.7","kev":false}],"package":"crates.io:rocket"}}