GitHub Advisoryadvisory · npm
GHSA-6722-xvq8-3254 SketchSVG Arbitrary Code Injection vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2023-26107
- Ecosystem
- npm
- Packages
- sketchsvg
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2023-03-07
Affected packages
• npm sketchsvg: <= 0.0.1 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2023-26107 All versions of the package sketchsvg are vulnerable to Arbitrary Code Injection when invoking shell.exec without sanitization nor… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26107 advisory
- https://github.com/eBay/SketchSVG package
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L115 web
- https://github.com/eBay/SketchSVG/blob/dd1036648f0f320a3187ef79d506b676b9eb87a6/lib/index.js#23L64 web
- https://security.snyk.io/vuln/SNYK-JS-SKETCHSVG-3167969 web