CVE-2022-24278
Convert-svg Project Convert-svg vulnerability
The package convert-svg-core before 0.6.4 are vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.
Affected products
Convert-svg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Convert-svg Project Convert-svg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5 · Patch
- github.com/neocotic/convert-svg/pull/87 · Patch
- github.com/neocotic/convert-svg/issues/86 · Exploit
- snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24278
- cve.org/CVERecord?id=CVE-2022-24278
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.