{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-29935","id":"CVE-2021-29935","title":"Use after free in Rocket","description":"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.","descriptionLong":"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.","published":"2021-04-01T04:23:59.000Z","updated":"2026-10-24T10:30:23.503354715Z","reserved":"2021-04-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"rocket","purl":"pkg:cargo/rocket","ranges":["<0.4.7",">=0.0.0-0 <0.4.7"],"fixed":["0.4.7"],"advisory":"GHSA-vcw4-8ph6-7vw8"}],"cwes":["CWE-416"],"aliases":["GHSA-vcw4-8ph6-7vw8","RUSTSEC-2021-0044"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0044.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29935","tags":["advisory"]},{"url":"https://github.com/SergioBenitez/Rocket/issues/1534","tags":["web","report"]},{"url":"https://github.com/SergioBenitez/Rocket/commit/b53a906a8e170fe9b151381c66a76a872c419f9e","tags":["web"]},{"url":"https://github.com/SergioBenitez/Rocket/commit/e325e2fce4d9f9f392761e9fb58b418a48cef8bb","tags":["web"]},{"url":"https://github.com/SergioBenitez/Rocket","tags":["package"]},{"url":"https://crates.io/crates/rocket","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01025,"epssPercentile":0.64283,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-29935","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29935","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-29935","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vcw4-8ph6-7vw8","ok":true,"note":"GHSA-vcw4-8ph6-7vw8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-29935","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}