Skip to main content
← All vulnerabilities
CVE-2021-23352GHSA-753C-PHHG-CJ29SNYK-JS-MADGE-1082875

Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a madge

    fixed in 4.0.1

  • madgenpm

    fixed in 4.0.1

References 3

snyk.io

GitHub · pahen/madge