CVE-2021-29932 json
Uncontrolled Resource Consumption in parse_duration
published 2021-03-18 5 y ago modified 2026-06-17 4 mo ago also GHSA-qpgv-g792-wh6x , RUSTSEC-2021-0041 , EUVD-2021-1847
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | parse_duration | <=2.1.1 >=0.0.0-0 |
no fix listed |
Classification
References
-
rustsec.org
/advisories/RUSTSEC-2021-0041.html
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29932
advisory
-
github.com
/zeta12ti/parse_duration/issues/21
web, report
-
github.com
/zeta12ti/parse_duration
package
-
crates.io
/crates/parse_duration
package
Sources
- CVE List CVE-2021-29932
- GitHub Advisory GHSA-qpgv-g792-wh6x
- NVD CVE-2021-29932
- OSV RUSTSEC-2021-0041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.