CVE-2023-44387CWE-732

CVE-2023-44387

Low · published October 5, 2023

CVSS v3.1
3.2
EPSS
0%
Percentile
12.0
In the wild
Unconfirmed
What it is

Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.

The record
Technical detail
CVSS v3.1
3.2 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.0th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2023-10-05T22:15Z
Affected products (2)
ProductVersionsFixed in
gradle/gradle< 7.6.37.6.3
gradle/gradle≥ 8.0.0, < 8.4.08.4.0
References (10)
EPSS history
Timeline
  • 05 OCT 17:51Z
    Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations
    cvelistv5