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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-fugit | no fix listed | DEBIAN-CVE-2024-43380 |
| RubyGems | fugit | 1.11.1 | GHSA-2m96-52r3-2f3g |
| Ubuntu:22.04:LTS | ruby-fugit | no fix listed | UBUNTU-CVE-2024-43380 |
| Ubuntu:24.04:LTS | ruby-fugit | no fix listed | UBUNTU-CVE-2024-43380 |
Affected products (as reported)
Weakness: CWE-400 · Vector: 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-2f3g x_refsource_CONFIRM
- https://github.com/floraison/fugit/issues/104 x_refsource_MISC
- https://github.com/floraison/fugit/commit/ad2c1c9c737213d585fff0b51c927d178b2c05a5 x_refsource_MISC