{"id":"EUVD-2021-0725","enisaUuid":"4fdaee28-d376-3688-9dcd-1f30a285bdde","description":"The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\\%(?:\\(([\\w_.]+)\\)|([1-9]\\d*)\\$)?([0 +\\-\\]*)(\\*|\\d+)?(\\.)?(\\*|\\d+)?[hlL]?([\\%bscdeEfFgGioOuxX])/g in lib/printf.js. The vulnerable regular expression has cubic worst-case time complexity.","datePublished":"Mar 12, 2021, 3:10:16 PM","dateUpdated":"Sep 17, 2024, 3:32:43 AM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://snyk.io/vuln/SNYK-JS-PRINTF-1072096\nhttps://github.com/adaltas/node-printf/pull/32\nhttps://github.com/adaltas/node-printf/issues/31\n","aliases":"CVE-2021-23354\nGHSA-xfhp-gmh8-r8v2\n","assigner":"snyk","epss":2.18,"enisaIdProduct":[{"id":"174ed92e-66a8-3021-b5af-983303bcf261","product":{"name":"printf","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c0.6.1"}],"enisaIdVendor":[{"id":"49900087-49d6-3a78-abd7-aae0a98b79a6","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"ca31f8cf-4bc3-36b3-a8bb-bb4cdc985e1f","vulnerability":{"id":"CVE-2021-23354","description":"The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\\%(?:\\(([\\w_.]+)\\)|([1-9]\\d*)\\$)?([0 +\\-\\]*)(\\*|\\d+)?(\\.)?(\\*|\\d+)?[hlL]?([\\%bscdeEfFgGioOuxX])/g in lib/printf.js. The vulnerable regular expression has cubic worst-case time complexity.","datePublished":"Mar 12, 2021, 3:10:16 PM","dateUpdated":"Sep 17, 2024, 3:32:43 AM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://snyk.io/vuln/SNYK-JS-PRINTF-1072096\nhttps://github.com/adaltas/node-printf/pull/32\nhttps://github.com/adaltas/node-printf/issues/31\n","enisa_id":"EUVD-2021-0725\n","assigner":"snyk","epss":2.18,"dataProcessed":"Nov 24, 2026, 7:19:26 AM","vulnerabilityProduct":[{"id":"c6973422-e17c-3700-98c4-11be8da4055d","product":{"name":"printf","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c0.6.1"}],"vulnerabilityVendor":[{"id":"49444386-cd52-3ca3-861e-90280a86aeb8","vendor":{"name":"n/a"}}]}},{"id":"f7dd3f2d-a35c-32b1-be97-373cd0202379","vulnerability":{"id":"GHSA-xfhp-gmh8-r8v2","description":"printf vulnerable to Regular Expression Denial of Service (ReDoS)","datePublished":"Mar 19, 2021, 9:22:10 PM","dateUpdated":"Sep 8, 2023, 8:24:11 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2021-23354\nhttps://github.com/adaltas/node-printf/issues/31\nhttps://github.com/adaltas/node-printf/pull/32\nhttps://github.com/adaltas/node-printf/commit/a8502e7c9b0b22555696a2d8ef67722086413a68\nhttps://snyk.io/vuln/SNYK-JS-PRINTF-1072096\n","enisa_id":"EUVD-2021-0725\n","aliases":"GHSA-xfhp-gmh8-r8v2\nCVE-2021-23354\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}