{"id":"EUVD-2021-0725","revision":"4fb072f660064f7787ea75bb3735f29e","records":[{"revision":"4fb072f660064f7787ea75bb3735f29e","observedAt":"2026-10-30T17:52:21.832+00:00","statement":{"source":"euvd","id":"EUVD-2021-0725","aliases":["CVE-2021-23354","GHSA-xfhp-gmh8-r8v2"],"title":"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 vul…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":null}],"references":["https://snyk.io/vuln/SNYK-JS-PRINTF-1072096","https://github.com/adaltas/node-printf/pull/32","https://github.com/adaltas/node-printf/issues/31"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0725","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 12, 2021, 3:10:16 PM","dateUpdated":"Sep 17, 2024, 3:32:43 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-0725","identifiers":["EUVD-2021-0725","CVE-2021-23354","GHSA-xfhp-gmh8-r8v2"]},"retained":false,"historicalAffected":[]}],"coverage":[]}