GitHub Advisoryadvisory · npm

GHSA-jv7g-9g6q-cxvw Path Traversal in convert-svg packages

HIGH Published 2022-01-27 Modified 2022-01-27 Official page ↗
Aliases
CVE-2021-23631
Ecosystem
npm
Packages
convert-svg-core, convert-svg-to-png, convert-svg-to-jpeg
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-01-24

Affected packages

• npm convert-svg-core: <= 0.5.0 (no fix yet) • npm convert-svg-to-png: <= 0.5.0 (no fix yet) • npm convert-svg-to-jpeg: <= 0.5.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2021-23631 This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References