Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. parse_duration
  4. ›
  5. CVE-2021-29932

CVE-2021-29932: Uncontrolled Resource Consumption in parse_duration

August 25, 2021

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.

References

  • github.com/advisories/GHSA-qpgv-g792-wh6x
  • github.com/zeta12ti/parse_duration
  • github.com/zeta12ti/parse_duration/issues/21
  • nvd.nist.gov/vuln/detail/CVE-2021-29932
  • rustsec.org/advisories/RUSTSEC-2021-0041.html

Code Behaviors & Features

Detect and mitigate CVE-2021-29932 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.1.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

cargo/parse_duration/CVE-2021-29932.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:43 +0000.