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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 | Exploit Third Party Advisory |
https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 | Exploit Third Party Advisory |
Configurations
Information
Published : 2022-01-21 12:15
Updated : 2022-01-27 11:03
NVD link : CVE-2021-23631
Mitre link : CVE-2021-23631
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
convert-svg-core_project
- convert-svg-core