GHSA-jv7g-9g6q-cxvw

Suggest an improvement
Source
https://github.com/advisories/GHSA-jv7g-9g6q-cxvw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-jv7g-9g6q-cxvw/GHSA-jv7g-9g6q-cxvw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jv7g-9g6q-cxvw
Aliases
  • CVE-2021-23631
Published
2022-01-27T14:04:28Z
Modified
2023-11-08T04:05:12Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-01-24T23:06:09Z",
    "nvd_published_at":  "2022-01-21T20:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / convert-svg-core

Package

Name
convert-svg-core
View open source insights on deps.dev
Purl
pkg:npm/convert-svg-core

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-jv7g-9g6q-cxvw/GHSA-jv7g-9g6q-cxvw.json"

npm / convert-svg-to-png

Package

Name
convert-svg-to-png
View open source insights on deps.dev
Purl
pkg:npm/convert-svg-to-png

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-jv7g-9g6q-cxvw/GHSA-jv7g-9g6q-cxvw.json"

npm / convert-svg-to-jpeg

Package

Name
convert-svg-to-jpeg
View open source insights on deps.dev
Purl
pkg:npm/convert-svg-to-jpeg

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-jv7g-9g6q-cxvw/GHSA-jv7g-9g6q-cxvw.json"