Live threats

All CVEs / Rocket

CVE-2021-29935Rocket

High 7.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rocket.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rocketrocket< 0.4.7

Official sources

References

Links published by the sources. Open them with care.