CVE-2021-23631
JSON

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 packageVersionsReported by
convert-svg-corebefore unspecifiedCVE List
convert-svg-to-pngbefore unspecifiedCVE List
convert-svg-to-jpegbefore unspecifiedCVE List
convert-svg-core (npm)up to 0.5.0GitHub Advisory Database
convert-svg-to-png (npm)up to 0.5.0GitHub Advisory Database
convert-svg-to-jpeg (npm)up to 0.5.0GitHub Advisory Database
convert-svg-core_project convert-svg-coreNot specifiedNVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-23631 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-jv7g-9g6q-cxvw changed 2023-11-08CC-BY-4.0
NVDCVE-2021-23631 changed 2026-06-17Public domain