7.5high
Directory Traversal
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 2.04% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-jv7g-9g6q-cxvw
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| convert-svg-core | before unspecified | CVE List |
| convert-svg-to-png | before unspecified | CVE List |
| convert-svg-to-jpeg | before unspecified | CVE List |
| convert-svg-core (npm) | up to 0.5.0 | GitHub Advisory Database |
| convert-svg-to-png (npm) | up to 0.5.0 | GitHub Advisory Database |
| convert-svg-to-jpeg (npm) | up to 0.5.0 | GitHub Advisory Database |
| convert-svg-core_project convert-svg-core | Not specified | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta a todas las versiones del paquete convert-svg-core; todas las versiones del paquete convert-svg-to-png; todas las versiones del paquete convert-svg-to-jpeg. Usando un archivo SVG especialmente diseñado, un atacante podría leer archivos arbitrarios del sistema de archivos y luego mostrar el contenido del archivo como un archivo PNG convertido
References
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245 | exploit, third-party-advisory, web | |
| https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23631 | advisory | |
| https://github.com/neocotic/convert-svg | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23631 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jv7g-9g6q-cxvw changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23631 changed 2026-06-17 | Public domain |