Path Traversal in Convert-Svg-Core Project
CVE-2021-23631
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.020 · 81.7th percentile
- Published
- 2022-01-21
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.020, 81.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Convert-Svg-Core Project
- Convert-Svg-Core — versions 0
- Convert-Svg-To-Jpeg — versions 0
- Convert-Svg-To-Png — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 (Exploit, Third Party Advisory)
- gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 (Exploit, Third Party Advisory)