Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. fugit
  4. ›
  5. CVE-2024-43380

CVE-2024-43380: fugit parse and parse_nat stall on lengthy input

August 19, 2024

The fugit “natural” parser, that turns “every wednesday at 5pm” into “0 17 * * 3”, accepted any length of input and went on attempting to parse it, not returning promptly, as expected. The parse call could hold the thread with no end in sight.

Fugit dependents that do not check (user) input length for plausability are impacted.

References

  • github.com/advisories/GHSA-2m96-52r3-2f3g
  • github.com/floraison/fugit
  • github.com/floraison/fugit/commit/ad2c1c9c737213d585fff0b51c927d178b2c05a5
  • github.com/floraison/fugit/issues/104
  • github.com/floraison/fugit/security/advisories/GHSA-2m96-52r3-2f3g
  • nvd.nist.gov/vuln/detail/CVE-2024-43380

Code Behaviors & Features

Detect and mitigate CVE-2024-43380 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 before 1.11.1

Fixed versions

  • 1.11.1

Solution

Upgrade to version 1.11.1 or above.

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

gem/fugit/CVE-2024-43380.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:16 +0000.