Skip to content
Heist/ feed
Low

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2023-44387

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-44387

gradle

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "gradle",
    "product": "gradle",
    "versions": [
      {
        "status": "affected",
        "version": ">= 7.6.0, < 7.6.3"
      },
      {
        "status": "affected",
        "version": "< 8.4.0"
      }
    ]
  }
]
Related CVEs
CVE-2023-44387

Source reference: /cveMetadata/cveId

Publisher severity

low

Source reference: /containers/cna/metrics

Event
#16096 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement