CVEfocus › CVE database › CVE-2023-44387

CVE-2023-44387Gradle has incorrect permission assignment for symlinked files used in copy or archiving…

CVSS 3.2 LowEPSS 0.3% (higher than 13% of CVEs)Published 2023-10-05Updated 2026-10-08Assigner: GitHub_M

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.

CWE-732

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gradleFix pendingUBUNTU-CVE-2023-44387
Ubuntu 26.04gradleUnder investigationUBUNTU-CVE-2023-44387
Ubuntu 25.10gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-44387
Ubuntu 24.04gradleUnder investigationUBUNTU-CVE-2023-44387
Ubuntu 22.04gradleUnder investigationUBUNTU-CVE-2023-44387
Ubuntu 20.04gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-44387
Ubuntu 18.04gradleFix pendingUBUNTU-CVE-2023-44387
Ubuntu 16.04gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-44387
Ubuntu 14.04gradleWill not fix
Ubuntu decided not to fix this in this release
Debian 14gradleFix pendingDEBIAN-CVE-2023-44387
Debian 13gradleFix pendingDEBIAN-CVE-2023-44387
Debian 12gradleFix pendingDEBIAN-CVE-2023-44387

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.