CVE-2024-43380 — Vulnerability in fugit — CVE Details
fugit parse and parse_nat stall on lengthy input
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.24%). Schedule for your next planned update.
Does your project use an affected fugit version?
Paste your Gemfile.lock to check it for CVE-2024-43380 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
Problem was reported in #104 and the fix was released in fugit 1.11.1
Workarounds
By making sure that Fugit.parse(s), Fugit.do_parse(s), Fugit.parse_nat(s), Fugit.do_parse_nat(s), Fugit::Nat.parse(s), and Fugit::Nat.do_parse(s) are not fed strings too long. 1000 chars feels ok, while 10_000 chars makes it stall.
In fewer words, making sure those fugit methods are not fed unvetted input strings.
References
gh-104
Advisory Timeline
- First published August 19, 2024 (829 days ago).
- Last revised August 7, 2026 — 718 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install fugit -v 1.11.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| fugit RubyGems · Affected: 0.1.0, 0.9.0, 0.9.1, 0.9.2 (+50 more) | 1.11.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/floraison/fugit/security/advisories/GHSA-2m96-52r3-2f3gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43380ADVISORY
- https://github.com/floraison/fugit/issues/104WEB
- https://github.com/floraison/fugit/commit/ad2c1c9c737213d585fff0b51c927d178b2c05a5WEB
- https://github.com/floraison/fugitPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fugit/CVE-2024-43380.ymlWEB
Frequently Asked Questions
- What is CVE-2024-43380?
- fugit parse and parse_nat stall on lengthy input. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2024-43380?
- CVE-2024-43380 affects fugit. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-43380 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 69.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token