Vulnerability Details : CVE-2022-24278
The package convert-svg-core before 0.6.4 are vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.
Vulnerability category: Directory traversal
Products affected by CVE-2022-24278
- cpe:2.3:a:convert-svg_project:convert-svg:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24278
0.18%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 56 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24278
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.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
|
Snyk |
CWE ids for CVE-2022-24278
-
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-2022-24278
-
https://github.com/neocotic/convert-svg/pull/87
Convert only first SVG element from input by neocotic · Pull Request #87 · neocotic/convert-svg · GitHubPatch;Third Party Advisory
-
https://github.com/neocotic/convert-svg/issues/86
Remote Code Injection vulnerable · Issue #86 · neocotic/convert-svg · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830
Directory Traversal in convert-svg-core | CVE-2022-24278 | SnykThird Party Advisory
-
https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5
Convert only first SVG element from input · neocotic/convert-svg@2bbc498 · GitHubPatch;Third Party Advisory
Jump to