Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9
- https://github.com/jkroso/parse-duration/releases/tag/v2.1.3
- https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5
FAQ
What is CVE-2025-25283?
CVE-2025-25283 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 resolv...
How severe is CVE-2025-25283?
CVE-2025-25283 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-25283?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.