#VU77929 Path traversal in gradle - CVE-2023-35946


Vulnerability identifier: #VU77929

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-35946

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 write 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/859eae2b2acf751ae7db3c9ffefe275aa5da0d5d
https://github.com/gradle/gradle/security/advisories/GHSA-2h6c-rv6q-494v
https://github.com/gradle/gradle/commit/b07e528feb3a5ffa66bdcc358549edd73e4c8a12
https://docs.gradle.org/current/userguide/dependency_verification.html


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