CVE-2021-23631
HIGH7.5EPSS 0.39%Path Traversal in convert-svg packages
發布日:2022/1/27修改日:2023/11/8
描述
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.
受影響套件(3)
- npm/convert-svg-corefrom 0, <= 0.5.0
- npm/convert-svg-to-jpegfrom 0, <= 0.5.0
- npm/convert-svg-to-pngfrom 0, <= 0.5.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23631
- PATCHhttps://github.com/neocotic/convert-svg
- WEBhttps://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14
- WEBhttps://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785
- WEBhttps://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245
- WEBhttps://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244