Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Madge Project | Madge | < 4.0.1 |
Related Weaknesses (CWE)
References
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27Broken LinkThird Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875ExploitPatchThird Party Advisory
- https://github.com/pahen/madge/blob/master/lib/graph.js%23L27Broken LinkThird Party Advisory
- https://github.com/pahen/madge/commit/da5cbc9ab30372d687fa7c324b22af7ffa5c6332PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-MADGE-1082875ExploitPatchThird Party Advisory
FAQ
What is CVE-2021-23352?
CVE-2021-23352 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 e...
How severe is CVE-2021-23352?
CVE-2021-23352 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23352?
Check the references section above for vendor advisories and patch information. Affected products include: Madge Project Madge.