CVE-2021-29932 — Parse Duration
HIGHCVE-2021-29932 is a high-severity (CVSS 7.5) CWE-770 vulnerability in parse_duration_project parse duration. Versions up to 2021-03-18 are affected; the records list no fixed version yet, so check the vendor advisory below.
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…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
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.
Affected Products
parse durationparse_duration_projectDetection & mitigation playbook
Vendor / applianceDetect
Inventory every parse_duration_project parse duration deployment and check each version against the affected-products list above.
Remediation status
The records we use list no fixed version for CVE-2021-29932 (versions up to 2021-03-18 are affected). Check the parse_duration_project parse duration advisory for a patched release, and apply the workarounds below until you can upgrade.
Mitigate without a patch
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2021-29932 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.