Advisory

GHSA-jv7g-9g6q-cxvw

Also known as: CVE-2021-23631

Summary

Path Traversal in convert-svg packages

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-27 14:04 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

convert-svg-core

npm · All systems

Affected

  • introduced 0, last affected 0.5.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

convert-svg-to-png

npm · All systems

Affected

  • introduced 0, last affected 0.5.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

convert-svg-to-jpeg

npm · All systems

Affected

  • introduced 0, last affected 0.5.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences