VulnerabilityModified
CVE-2021-23352
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.
CRITICAL 9.8EPSS 2.06%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.06%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.06% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-89
- Affected
- madge project/madge
- Source
- report@snyk.io
References
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27Broken Link, Third Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875Exploit, Patch, Third Party Advisory
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27Broken Link, Third Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.