High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-29935
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:58 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-29935
Complete source record
{
"id": "d1b012eadb1e62b0ed600767ee22c2d4568aef923aa29192f4d97706853c1ef4",
"url": "https://osv.dev/vulnerability/CVE-2021-29935",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-29935",
"summary": "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.",
"evidence": "osv:CVE-2021-29935",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-29935",
"aliases": [
"CVE-2021-29935",
"GHSA-vcw4-8ph6-7vw8",
"RUSTSEC-2021-0044"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rwf2/Rocket",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b67bd8be907bee3ba93eb48c0efa860451710675"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rocket:rocket:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.4.6",
"v0.4.5",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.4.0-rc.2",
"v0.4.0-rc.1",
"v0.3.0",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"v0.0.11",
"v0.0.10",
"v0.0.9",
"v0.0.8",
"v0.0.6",
"v0.0.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29935.json"
}
}
],
"modified": "2026-10-24T10:30:23.503354715Z",
"provider": "osv",
"references": [
"https://rustsec.org/advisories/RUSTSEC-2021-0044.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-29935",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430933,
"published_at": "2021-04-01T05:15:14.593+00:00"
}