Affected versions
npmsketchsvg
- Affected versions
- <= 0.0.1
- Fixed version
- Not reported
Exploitation
Description
All versions of the package sketchsvg are vulnerable to Arbitrary Code Injection when invoking shell.exec without sanitization nor parametrization while concatenating the current directory as part of the command string.
Links
- https://github.com/advisories/GHSA-6722-xvq8-3254
- https://github.com/eBay/SketchSVG
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64
- https://nvd.nist.gov/vuln/detail/CVE-2023-26107
- https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969

