OS Command Injection in thenify - CVE-2020-7677
Published: June 24, 2020
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
Fedora
Ubuntu
yarnpkg
node-thenify (Ubuntu package)
How to mitigate CVE-2020-7677
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