CVE-2021-29935Rocket
High 7.3 No auth needed
Follow: this CVE · Rocket · Rocket We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Apr 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Rocket.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | rocket |
< 0.4.7 |
0.4.7 |
cargo update -p rocket --precise 0.4.7 |
| crates.io | rocket |
≥ 0.0.0-0 < 0.4.7 |
0.4.7 |
cargo update -p rocket --precise 0.4.7 |
Per OSV / GitHub Advisories (GHSA-vcw4-8ph6-7vw8, RUSTSEC-2021-0044). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rocket | rocket | < 0.4.7 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Vendor Advisory