Vulnerability · Published Mar 9, 2021 · Assigned by snyk

CVE-2021-23352Command Injection

High 8.6

In plain English

A high-severity security flaw in madge. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)2.1%top 18.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmadge4.0.1GHSA-753c-phhg-cj29

Affected products (as reported)

VendorProductVersions
n/a madge unspecified – before 4.0.1

References