OS Command Injection in thenify - CVE-2020-7677

 

OS Command Injection in thenify - CVE-2020-7677

Published: June 24, 2020


Vulnerability identifier: #VU29230
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2020-7677
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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 "name" argument in "eval" function. A remote unauthenticated 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.


Affected software

thenify
Fedora
Ubuntu
yarnpkg
node-thenify (Ubuntu package)

How to mitigate CVE-2020-7677

Install updates from vendor's website.

thenify - update to 3.3.1
yarnpkg - addressed in versions 1.22.19-3.fc36, 1.22.19-3.fc37, 1.22.19-5.el9
node-thenify (Ubuntu package) - addressed in versions 3.3.0-1+deb10u1build0.18.04.1, 3.3.0-1+deb10u1build0.20.04.1

External References

Related Security Bulletins