Vulnerability · Published Aug 19, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity uncontrolled resource consumption in fugit from floraison. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

fugit contains time tools for flor and the floraison group. 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 plausibility are impacted. A fix was released in fugit 1.11.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-fugitno fix listedDEBIAN-CVE-2024-43380
RubyGemsfugit1.11.1GHSA-2m96-52r3-2f3g
Ubuntu:22.04:LTSruby-fugitno fix listedUBUNTU-CVE-2024-43380
Ubuntu:24.04:LTSruby-fugitno fix listedUBUNTU-CVE-2024-43380

Affected products (as reported)

VendorProductVersions
floraison fugit < 1.11.1

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References