Vulnerability Details : 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.
Vulnerability category: Directory traversal
Products affected by CVE-2021-23631
- cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23631
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23631
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2021-23631
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23631
-
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245
Directory Traversal in convert-svg-to-jpeg | CVE-2021-23631 | SnykExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785
Directory Traversal in convert-svg-core | CVE-2021-23631 | SnykExploit;Third Party Advisory
-
https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14
Poc ยท GitHubExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244
Directory Traversal in convert-svg-to-png | CVE-2021-23631 | SnykExploit;Third Party Advisory
Jump to