{"id":"CVE-2025-25283","state":"PUBLISHED","title":"parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory","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.","publishedAt":"2025-02-12T18:21:48.693Z","updatedAt":"2025-02-12T19:25:45.402Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["jkroso parse-duration"],"affected":[{"vendor":"jkroso","product":"parse-duration","versions":[{"version":"< 2.1.3","status":"affected"}]}],"references":["https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5","https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7","https://github.com/jkroso/parse-duration/releases/tag/v2.1.3"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/25xxx/CVE-2025-25283.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-25283","state":"PUBLISHED","datePublished":"2025-02-12T18:21:48.693Z","dateUpdated":"2025-02-12T19:25:45.402Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-02-06T17:13:33.121Z"},"containers":{"cna":{"title":"parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jkroso","product":"parse-duration","versions":[{"version":"< 2.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5","name":"https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7","name":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7","tags":["x_refsource_MISC"]},{"url":"https://github.com/jkroso/parse-duration/releases/tag/v2.1.3","name":"https://github.com/jkroso/parse-duration/releases/tag/v2.1.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-02-12T18:21:48.693Z"},"source":{"advisory":"GHSA-hcrg-fc28-fcg5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-12T19:25:33.773917Z","id":"CVE-2025-25283","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-12T19:25:45.402Z"}}]}}}