Skip to content
OpenAdvisories
High · 8.6 CVE-2021-23352 EUVD-2021-0621GHSA-753c-phhg-cj29SNYK-JS-MADGE-1082875

Command Injection

Published Mar 9, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— madge unspecified – < 4.0.1 4.0.1

Affected packages

EcosystemPackageAffectedFixedRecord
npm madge < 4.0.1 4.0.1 GHSA-753c-phhg-cj29

References