What’s Vulnerable › Vulnerabilities

CVE-2021-23352: Command Injection

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.

Affected products

How to fix

Upgrade to a fixed version: madge 4.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-23352 or the next vulnerability affects your stack