{"id":"CVE-2024-43380","aliases":["CVE-2024-43380","GHSA-2m96-52r3-2f3g"],"related":[],"kind":"vulnerability","state":"published","title":"fugit parse and parse_nat stall on lengthy input","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\nFugit dependents that do not check (user) input length for plausability are impacted.\n\n### Patches\n\nProblem was reported in #104 and the fix was released in [fugit 1.11.1](https://rubygems.org/gems/fugit/versions/1.11.1)\n\n### Workarounds\n\nBy 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.\n\nIn fewer words, making sure those fugit methods are not fed unvetted input strings.\n\n### References\n\ngh-104","format":"markdown","source":"ghsa"},{"lang":"es","text":"fugit contiene herramientas de tiempo para flor y el grupo floraison. El analizador \"natural\" fugit, que convierte \"todos los miércoles a las 5 p.m.\" en \"0 17 * * 3\", aceptó cualquier longitud de entrada y continuó intentando analizarla, sin regresar rápidamente, como se esperaba. La llamada de análisis podría mantener el hilo sin un final a la vista. Los dependientes de Fugit que no verifican la plausibilidad de la longitud de entrada (del usuario) se ven afectados. Se publicó una solución en fugit 1.11.1.","source":"nvd"}],"published":"2024-08-19T14:37:39.532Z","modified":"2026-08-07T08:12:04.604Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 1.11.1","status":"affected"}],"vendor":"floraison","product":"fugit","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.11.1","status":"affected"}],"vendor":"floraison","product":"fugit","cpe":"cpe:2.3:a:floraison:fugit:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.11.1"}],"ecosystem":"RubyGems","package":"fugit","purl":"pkg:gem/fugit","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.11.1"}],"vendor":"floraison","product":"fugit","cpe":"cpe:2.3:a:floraison:fugit:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/floraison/fugit/security/advisories/GHSA-2m96-52r3-2f3g","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/floraison/fugit/issues/104","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/floraison/fugit/commit/ad2c1c9c737213d585fff0b51c927d178b2c05a5","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43380","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/floraison/fugit","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fugit/CVE-2024-43380.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-19T17:52:17.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43380","url":"https://www.cve.org/CVERecord?id=CVE-2024-43380","licence":"CVE Terms of Use","modified":"2024-09-03T15:03:00.904Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2m96-52r3-2f3g","url":"https://github.com/advisories/GHSA-2m96-52r3-2f3g","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:04.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43380","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43380","licence":"Public domain","modified":"2026-06-17T07:50:55.090Z"}],"updatedAt":"2026-11-25T22:58:44.536Z","epss":{"score":0.00798,"percentile":0.57701,"date":"2026-12-01T12:00:22.000Z"}}