VulnerabilityModified
CVE-2021-23631
Using a specially crafted SVG file, an attacker could read arbitrary files from the file system and then show the file content as a converted PNG file.
HIGH 7.5EPSS 1.98%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.98%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. Using a specially crafted SVG file, an attacker could read arbitrary files from the file system and then show the file content as a converted PNG file.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.98% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- convert-svg-core project/convert-svg-core
- Source
- report@snyk.io
References
- https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244Exploit, Third Party Advisory
- https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.