Vulnerability from bitnami_vulndb
Published
2024-03-06 10:52
Modified
2025-05-20 10:02
Summary
Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations
Details
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.
{
"affected": [
{
"package": {
"ecosystem": "Bitnami",
"name": "gradle",
"purl": "pkg:bitnami/gradle"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.6.3"
},
{
"introduced": "8.0.0"
},
{
"fixed": "8.4.0"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2023-44387"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*"
],
"severity": "Medium"
},
"details": "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.",
"id": "BIT-gradle-2023-44387",
"modified": "2025-05-20T10:02:07.006Z",
"published": "2024-03-06T10:52:33.070Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7"
},
{
"type": "WEB",
"url": "https://github.com/gradle/gradle/releases/tag/v7.6.3"
},
{
"type": "WEB",
"url": "https://github.com/gradle/gradle/releases/tag/v8.4.0"
},
{
"type": "WEB",
"url": "https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20231110-0006/"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-44387"
}
],
"schema_version": "1.5.0",
"summary": "Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…