{"id":"CVE-2021-28092","published":"2021-03-12T21:31:35Z","modified":"2024-08-03T21:33:17Z","title":"The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression…","vendor":null,"product":null,"tier":"tail","description":{"text":"The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02027,"percentile":0.81493,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/sindresorhus/is-svg/releases","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/is-svg","tags":["x_refsource_MISC"]},{"url":"https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210513-0008/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":16.3}]},"affected":[{"ecosystem":"npm","package":"is-svg","vulnerableRanges":[">=2.1.0, <4.2.2"],"patched":["4.2.2"],"from":["GHSA-7r28-3m3f-r2pr"],"provenance":"source"}],"summary":{"text":"The is-svg Node.js package, versions 2.1.0 through 4.2.1, contains a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:14Z"},"euvd":{"id":"EUVD-2021-0627","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-is-svg-cve-2021-28092","children":[{"from":"CVE-2021-28092","to":"CVE-2021-29059","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:is-svg","fromFixed":"4.2.2","toFixed":"4.3.0","daysApart":101},{"kind":"same-code","provenance":"machine","files":["index.js","test.js"],"commits":["https://github.com/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b","https://github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02"],"basis":"shared function","functions":["test"]},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-28092","published":"2021-03-12","fixed":"4.2.2","kev":false},{"cve":"CVE-2021-29059","published":"2021-06-21","fixed":"4.3.0","kev":false}],"package":"npm:is-svg"}}