Skip to main content
← All vulnerabilities
CVE-2023-44387BIT-GRADLE-2023-44387GHSA-43R3-PQHV-F7H9

Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.6.3, 8.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gradle gradle

    From 7.6.0 · fixed in 7.6.3; fixed in 8.4.0

  • gradleBitnami

    fixed in 7.6.3; From 8.0.0 · fixed in 8.4.0

References 5

GitHub · gradle/gradle

security.netapp.com