A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Link | Tags |
---|---|
https://www.npmjs.com/package/is-svg | product |
https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js | third party advisory |
https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0 | third party advisory release notes |
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md | exploit third party advisory patch |