OS Command Injection in gradle - CVE-2021-32751
Published: May 15, 2023
Vulnerability identifier: #VU76159
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-32751
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Gradle
Affected software:
gradle
gradle
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation. A local user who can modify environment variables is able to execute arbitrary OS commands when executing the "gradlew build" command or start scripts.
How to mitigate CVE-2021-32751
Install updates from vendor's website.