PT-2022-9419 · Unknown · Convert-Svg-Core+1
Aritra Chakraborty
·
Published
2022-01-21
·
Updated
2022-01-27
·
CVE-2021-23631
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
convert-svg-core versions all
convert-svg-to-png versions all
convert-svg-to-jpeg versions all
Description
This issue allows an attacker to read arbitrary files from the file system using a specially crafted SVG file. The attacker could then show the file content as a converted PNG file.
Recommendations
For convert-svg-core, consider disabling the SVG conversion functionality until a patch is available.
For convert-svg-to-png, restrict access to the PNG conversion module to minimize the risk of exploitation.
For convert-svg-to-jpeg, avoid using the JPEG conversion function with untrusted SVG files until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Convert-Svg-Core
Convert-Svg-To-Jpeg