#VU77930 Path traversal in gradle - CVE-2023-35947


Vulnerability identifier: #VU77930

Vulnerability risk: Medium

CVSSv4.0: 2.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-35947

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
gradle
Other software / Other software solutions

Vendor: Gradle

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read and overwrite arbitrary files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

gradle: 7.0.0 - 7.6.1, 8.0.0 - 8.1.1


External links
https://github.com/gradle/gradle/commit/1096b309520a8c315e3b6109a6526de4eabcb879
https://github.com/gradle/gradle/security/advisories/GHSA-84mw-qh6q-v842
https://github.com/gradle/gradle/commit/2e5c34d57d0c0b7f0e8b039a192b91e5c8249d91


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability