Skip to content

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.

PackageAffectedFixed inStatus
madge project madge < 4.0.1 4.0.1 Fixed
npm madge(npm) < 4.0.1 4.0.1 Fixed

Affected products

ProductAffected versionsFixed in
npm madge(npm) < 4.0.1 4.0.1
madge project madge < 4.0.1 4.0.1

References