cve.bz

CVE-2023-44387 gradle gradle

6.5 mediumEPSS 0.2%Fix available

Medium (6.5) in gradle gradle. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-44387 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-44387?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-44387?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-44387 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gradle:gradlebefore 7.6.3
gradle:gradlefrom 8.0.0 before 8.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14gradleno fix listedDEBIAN-CVE-2023-44387
Ubuntu16.04:LTS, 20.04:LTS, 22.04:LTS and 5 moregradleno fix listedUBUNTU-CVE-2023-44387
Alpaquita23gradle7.6.3-r0BELL-CVE-2023-44387
Alpaquitastreamgradle8.4-r0BELL-CVE-2023-44387

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

User should follow the documentation to explicitly set permissions when copying or create archives: https://docs.gradle.org/current/userguide/working_with_files.html#sec:setting_file_permissions

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.6.0gradleFixed 2023-12-06RHSA-2023:7678
Red Hat build of Apicurio Registry 2gradleAffected
Red Hat build of OptaPlanner 8gradleFix deferred
Red Hat Integration Camel K 1gradleFix deferred
Red Hat Integration Camel Quarkus 2gradleNot affected
Red Hat JBoss Enterprise Application Platform 6gradleOut of support scope
Red Hat JBoss Enterprise Application Platform 7gradleNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackgradleNot affected
Red Hat Process Automation 7gradleOut of support scope
Red Hat Software Collectionsrh-maven36-byte-buddyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-44387.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON