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-cxvwJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qdjdnLTlnNnEtY3h2d80lrw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: almost 2 years 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
EPSS Percentage: 0.00309
EPSS Percentile: 0.6971
Identifiers: GHSA-jv7g-9g6q-cxvw, CVE-2021-23631
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23631
- https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244
- https://github.com/advisories/GHSA-jv7g-9g6q-cxvw
Affected Packages
npm:convert-svg-to-jpeg
Dependent packages: 7Dependent repositories: 12
Downloads: 153 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: 58Dependent repositories: 227
Downloads: 34,275 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: 4Dependent repositories: 224
Downloads: 34,297 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