npm/parse-duration CVE-2025-25283: high 7.5, EPSS 0.77%
parse-duration has a Regex Denial of Service that results in event loop delay and out of memory
Action: Upgrade parse-duration to 2.1.3 or later.
npm i parse-duration@2.1.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.1.3 | - |
Fixed versions
| 2.1.3 |
Sources
- osv: GHSA-hcrg-fc28-fcg5
- https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5
- https://nvd.nist.gov/vuln/detail/CVE-2025-25283
- https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7
- https://github.com/jkroso/parse-duration
- https://github.com/jkroso/parse-duration/releases/tag/v2.1.3
CVE-2025-25283 · published · modified · JSON