CVE-2021-29059
HIGH7.5EPSS 1.1%ReDOS in IS-SVG
Published: 12/10/2021Modified: 11/8/2023
Also known as:GHSA-r8j5-h5cx-65gg
Description
A vulnerability was discovered in IS-SVG version 4.3.1 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
Affected packages (1)
- npm/is-svg>= 2.1.0, < 4.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-29059
- PATCHhttps://github.com/sindresorhus/is-svg
- WEBhttps://github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02
- WEBhttps://github.com/sindresorhus/is-svg/releases/tag/v4.3.0
- WEBhttps://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md
- WEBhttps://github.com/yetingli/SaveResults/blob/main/js/is-svg.js
- WEBhttps://www.npmjs.com/package/is-svg