Live threats

All CVEs / Parse Duration Project

CVE-2021-29932Parse Duration Project Parse Duration

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
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-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in the parse_duration crate through 2021-03-18 for Rust. It allows attackers to cause a denial of service (CPU and memory consumption) via a duration string with a large exponent.

Original NVD text.

What to do

  1. Apply the vendor's security update for Parse Duration.
  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 parse_duration ≤ 2.1.1 no fixed version —
crates.io parse_duration ≥ 0.0.0-0 no fixed version —

Per OSV / GitHub Advisories (GHSA-qpgv-g792-wh6x, RUSTSEC-2021-0041). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
parse_duration_projectparse_duration≤ 2021-03-18

Official sources

References

Links published by the sources. Open them with care.