#VU77929 Path traversal in gradle


Published: 2023-07-04

Vulnerability identifier: #VU77929

Vulnerability risk: Medium

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

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
http://github.com/gradle/gradle/commit/859eae2b2acf751ae7db3c9ffefe275aa5da0d5d
http://github.com/gradle/gradle/security/advisories/GHSA-2h6c-rv6q-494v
http://github.com/gradle/gradle/commit/b07e528feb3a5ffa66bdcc358549edd73e4c8a12
http://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