Vulnerability · Published Jan 21, 2022 · Assigned by snyk

CVE-2021-23631Directory Traversal

High 7.5

In plain English

A high-severity security flaw in convert-svg-core. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.0%top 19.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmconvert-svg-coreno fix listedGHSA-jv7g-9g6q-cxvw
npmconvert-svg-to-jpegno fix listedGHSA-jv7g-9g6q-cxvw
npmconvert-svg-to-pngno fix listedGHSA-jv7g-9g6q-cxvw

Affected products (as reported)

VendorProductVersions
n/a convert-svg-core 0 – before unspecified
n/a convert-svg-to-png 0 – before unspecified
n/a convert-svg-to-jpeg 0 – before unspecified

References