Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1qdjdnLTlnNnEtY3h2d80lrw

Path Traversal in convert-svg packages

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.

Permalink: https://github.com/advisories/GHSA-jv7g-9g6q-cxvw
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qdjdnLTlnNnEtY3h2d80lrw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Identifiers: GHSA-jv7g-9g6q-cxvw, CVE-2021-23631
References: Blast Radius: 17.7

Affected Packages

npm:convert-svg-to-jpeg
Dependent packages: 7
Dependent repositories: 12
Downloads: 1,921 last month
Affected Version Ranges: <= 0.5.0
No known fixed version
All affected versions: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.5.0
npm:convert-svg-to-png
Dependent packages: 58
Dependent repositories: 227
Downloads: 53,414 last month
Affected Version Ranges: <= 0.5.0
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.5.0
npm:convert-svg-core
Dependent packages: 4
Dependent repositories: 224
Downloads: 54,648 last month
Affected Version Ranges: <= 0.5.0
No known fixed version
All affected versions: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.5.0