CVE-2021-23352 Command Injection
CriticalCVSS 9.8
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option parameter which when the .image(), .svg() or .dot() functions are called, is executed by the childprocess.exec function.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| madge project madge | < 4.0.1 | 4.0.1 | Fixed |
| npm madge(npm) | < 4.0.1 | 4.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm madge(npm) | < 4.0.1 | 4.0.1 |
| madge project madge | < 4.0.1 | 4.0.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- github.com
- github.com
- github.com broken-link third-party-advisory