Remote code execution in Gradle



Published: 2022-02-14
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-23630
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
gradle
Other software / Other software solutions

Vendor Gradle

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Code Injection

EUVDB-ID: #VU60583

Risk: Low

CVSSv3.1: 5.8 [CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-23630

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to a dependency verification bypass flaw in the ResolutionStrategy.disableDependencyVerification() function. A remote administrator can send a specially crafted binary and execute arbitrary code on the target system.

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

Mitigation

Install updates from vendor's website.

Vulnerable software versions

gradle: 6.2.0 - 7.3.3

External links

http://docs.gradle.org/7.4/release-notes.html
http://github.com/gradle/gradle/commit/88ab9b652933bc3b2e3161b31ad8b8f4f0516351
http://github.com/gradle/gradle/security/advisories/GHSA-9pf5-88jw-3qgr


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###