CVE-2021-23631

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*

History

27 Jan 2022, 19:03

Type Values Removed Values Added
CWE CWE-22
CPE cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (CONFIRM) https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 - (CONFIRM) https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 - Exploit, Third Party Advisory
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 - Exploit, Third Party Advisory
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 - Exploit, Third Party Advisory
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 - Exploit, Third Party Advisory

21 Jan 2022, 21:15

Type Values Removed Values Added
Summary 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. 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.

21 Jan 2022, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-21 20:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-23631

Mitre link : CVE-2021-23631

CVE.ORG link : CVE-2021-23631


JSON object : View

Products Affected

convert-svg-core_project

  • convert-svg-core
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')