Overview
- Description
- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 6.5
- Impact score
- 4
- Exploitability score
- 2
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Severity
- MEDIUM
Weaknesses
- security-advisories@github.com
- CWE-732
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "77803A01-94E7-4C76-BAF3-ED44AE596010", "versionEndExcluding": "7.6.3" }, { "criteria": "cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E104EF19-8B72-4A31-B2AC-8312F7C6452F", "versionEndExcluding": "8.4.0", "versionStartIncluding": "8.0.0" } ], "operator": "OR" } ] } ]