{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/56655?format=json","vulnerability_id":"VCID-rfxc-tgv4-6ybf","summary":"parse-duration has a Regex Denial of Service that results in event loop delay and out of memory\nThis report finds 2 availability issues due to the regex used in the `parse-duration` npm package:\n1. 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.\n2. 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.","aliases":[{"alias":"CVE-2025-25283"},{"alias":"GHSA-hcrg-fc28-fcg5"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/84108?format=json","purl":"pkg:npm/parse-duration@2.1.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.1.3"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/803436?format=json","purl":"pkg:npm/parse-duration@0.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803437?format=json","purl":"pkg:npm/parse-duration@0.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803438?format=json","purl":"pkg:npm/parse-duration@0.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803439?format=json","purl":"pkg:npm/parse-duration@0.1.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/803440?format=json","purl":"pkg:npm/parse-duration@0.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803441?format=json","purl":"pkg:npm/parse-duration@0.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803442?format=json","purl":"pkg:npm/parse-duration@0.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803443?format=json","purl":"pkg:npm/parse-duration@0.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803444?format=json","purl":"pkg:npm/parse-duration@0.3.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.3.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803445?format=json","purl":"pkg:npm/parse-duration@0.3.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.3.3"},{"url":"http://public2.vulnerablecode.io/api/packages/803446?format=json","purl":"pkg:npm/parse-duration@0.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803447?format=json","purl":"pkg:npm/parse-duration@0.4.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803448?format=json","purl":"pkg:npm/parse-duration@0.4.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803449?format=json","purl":"pkg:npm/parse-duration@0.4.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.4.3"},{"url":"http://public2.vulnerablecode.io/api/packages/803450?format=json","purl":"pkg:npm/parse-duration@0.4.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.4.4"},{"url":"http://public2.vulnerablecode.io/api/packages/803451?format=json","purl":"pkg:npm/parse-duration@0.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@0.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803452?format=json","purl":"pkg:npm/parse-duration@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803453?format=json","purl":"pkg:npm/parse-duration@1.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803454?format=json","purl":"pkg:npm/parse-duration@1.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803455?format=json","purl":"pkg:npm/parse-duration@1.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.0.3"},{"url":"http://public2.vulnerablecode.io/api/packages/803456?format=json","purl":"pkg:npm/parse-duration@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803457?format=json","purl":"pkg:npm/parse-duration@1.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803458?format=json","purl":"pkg:npm/parse-duration@1.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@1.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803459?format=json","purl":"pkg:npm/parse-duration@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803460?format=json","purl":"pkg:npm/parse-duration@2.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803461?format=json","purl":"pkg:npm/parse-duration@2.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/803462?format=json","purl":"pkg:npm/parse-duration@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/803463?format=json","purl":"pkg:npm/parse-duration@2.1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/803464?format=json","purl":"pkg:npm/parse-duration@2.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rfxc-tgv4-6ybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/parse-duration@2.1.2"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25283","reference_id":"","reference_type":"","scores":[{"value":"0.00117","scoring_system":"epss","scoring_elements":"0.30121","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00117","scoring_system":"epss","scoring_elements":"0.30074","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00117","scoring_system":"epss","scoring_elements":"0.30061","published_at":"2026-06-08T12:55:00Z"},{"value":"0.00117","scoring_system":"epss","scoring_elements":"0.3009","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00117","scoring_system":"epss","scoring_elements":"0.30157","published_at":"2026-06-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25283"},{"reference_url":"https://github.com/jkroso/parse-duration","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/jkroso/parse-duration"},{"reference_url":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-12T19:25:33Z/"}],"url":"https://github.com/jkroso/parse-duration/commit/9e88421bfd41806fa4b473bfb28a9ee9dafc27d7"},{"reference_url":"https://github.com/jkroso/parse-duration/releases/tag/v2.1.3","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-12T19:25:33Z/"}],"url":"https://github.com/jkroso/parse-duration/releases/tag/v2.1.3"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25283","reference_id":"CVE-2025-25283","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25283"},{"reference_url":"https://github.com/advisories/GHSA-hcrg-fc28-fcg5","reference_id":"GHSA-hcrg-fc28-fcg5","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-hcrg-fc28-fcg5"},{"reference_url":"https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5","reference_id":"GHSA-hcrg-fc28-fcg5","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-12T19:25:33Z/"}],"url":"https://github.com/jkroso/parse-duration/security/advisories/GHSA-hcrg-fc28-fcg5"}],"weaknesses":[{"cwe_id":1333,"name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-rfxc-tgv4-6ybf"}