SB2021031614 - Command Injection in madge package for npm



SB2021031614 - Command Injection in madge package for npm

Published: March 16, 2021

Security Bulletin ID SB2021031614
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Command Injection (CVE-ID: CVE-2021-23352)

CWE-ID: CWE-77 - Command injection

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber


The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "graphVizPath" parameter. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.


Remediation

Install update from vendor's website.