OS Command Injection in @diez/generation - CVE-2021-32830

 

OS Command Injection in @diez/generation - CVE-2021-32830

Published: August 24, 2021


Vulnerability identifier: #VU56058
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-32830
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Diez
Affected software:
@diez/generation

Detailed vulnerability description

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

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

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-32830

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources