high7.8
CVE-2023-26107
SketchSVG Arbitrary Code Injection vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | sketchsvg | <= 0.0.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ebay | Sketchsvg | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L115
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js%23L64
- https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969
- https://github.com/advisories/GHSA-6722-xvq8-3254
- https://nvd.nist.gov/vuln/detail/CVE-2023-26107
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64