VDB

CVE-2021-29932

CVE-2021-29932 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
parse_durationcrates.io2.1.1
garage-2Chainguard2.4.1-r1
parse_durationparse_duration_project2021-03-18

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
chainguardgarage-20
n/an/a*
crates.ioparse_duration0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›