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

Medium 5.3 Published Updated

Attackers can cause denial of service by providing lengthy input to the fugit parser, which stalls the thread indefinitely.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-43380?

CVE-2024-43380 is a medium-severity denial of service vulnerability in floraison fugit, published on 19 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-400

Which versions are affected by CVE-2024-43380?

2 open source packages ship an affected version, including fugit. It affects 1 product.

PackageAffectedFixed in
fugit RubyGemsAll versions1.11.1
fugit RubyGemsAll versions1.11.1

Products include Floraison Fugit.

How do I fix CVE-2024-43380?

Upgrade fugit to 1.11.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-43380 being exploited?

There is no known exploitation of CVE-2024-43380 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-43380, GHSA-2m96-52r3-2f3g, UBUNTU-CVE-2024-43380.

Is CVE-2024-43380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free