CVE-2021-29932
Uncontrolled Resource Consumption in parse_duration
Reported by mitre · Published April 1, 2021
parse_duration is fixed in 2.1.1 (crates.io)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| parse_duration | crates.io | 2.1.1 |
| garage-2 | Chainguard | 2.4.1-r1 |
| parse_duration | parse_duration_project | 2021-03-18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| chainguard | garage-2 | 0 |
| n/a | n/a | * |
| crates.io | parse_duration | 0 |
Timeline
- Apr 1, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 19, 2021 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29932
vulnetix vdb fixes CVE-2021-29932
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29932/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart