PoC Monitor
← All CVEs
CVE-2025-25283published 12 Feb 2025 18:21 UTCData: JSON · API

Jkroso parse-duration

parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory

parse-duraton is software that allows users to convert a human readable duration to milliseconds. Versions prior to 2.1.3 are vulnerable to an event loop delay due to the CPU-bound operation of resolving the provided string, from a 0.5ms and up to ~50ms per one operation, with a varying size from 0.01 MB and up to 4.3 MB respectively, and an out of memory that would crash a running Node.js application due to a string size of roughly 10 MB that utilizes unicode characters. Version 2.1.3 contains a patch.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-1333
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

jkroso parse-duration
  • < 2.1.3

Fixed in 2.1.3

Mitigation

Upgrade parse-duration to 2.1.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Feb 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.