Code Injection in grunt - CVE-2020-7729
Published: August 26, 2020 / Updated: February 7, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to the default usage of the function "load()" instead of its secure replacement "safeLoad()". A remote authenticated attacker can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Bitbucket Data Center
Ubuntu
openEuler
grunt (Ubuntu package)
nodejs-grunt
How to mitigate CVE-2020-7729
Bitbucket Data Center - update to 10.3.2
grunt (Ubuntu package) - addressed in versions Ubuntu Pro, 1.0.1-8ubuntu0.1
nodejs-grunt - addressed in versions 1.0.1-2, 1.0.1-5