GitHub Advisoryadvisory · npm
GHSA-r8j5-h5cx-65gg ReDOS in IS-SVG
HIGH
Official page ↗
- Aliases
- CVE-2021-29059
- Ecosystem
- npm
- Packages
- is-svg
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2021-06-22
Affected packages
• npm is-svg: >= 2.1.0, < 4.3.0 → fixed in 4.3.0
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.
Related
Alias · CVE (1)
- CVE-2021-29059 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… vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-29059 advisory
- https://github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02 web
- https://github.com/sindresorhus/is-svg package
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0 web
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md web
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js web
- https://www.npmjs.com/package/is-svg web