Skip to content

CVE-2021-23631 Directory Traversal

HighCVSS 7.5 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

4 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
convert-svg-core project convert-svg-core All versions No fix listed No fix yet
npm convert-svg-core(npm) <= 0.5.0 after 0.5.0 Fixed
npm convert-svg-to-jpeg(npm) <= 0.5.0 after 0.5.0 Fixed
npm convert-svg-to-png(npm) <= 0.5.0 after 0.5.0 Fixed

Affected products

ProductAffected versionsFixed in
npm convert-svg-core(npm) <= 0.5.0 No fix listed
npm convert-svg-to-png(npm) <= 0.5.0 No fix listed
npm convert-svg-to-jpeg(npm) <= 0.5.0 No fix listed
convert-svg-core project convert-svg-core All versions No fix listed

References