Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-44387

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-05 Oct, 2023 | 17:51
Updated At-13 Feb, 2025 | 17:13
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:05 Oct, 2023 | 17:51
Updated At:13 Feb, 2025 | 17:13
Rejected At:
▼CVE Numbering Authority (CNA)
Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations

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 Products
Vendor
Gradle, Inc.gradle
Product
gradle
Versions
Affected
  • >= 7.6.0, < 7.6.3
  • < 8.4.0
Problem Types
TypeCWE IDDescription
CWECWE-732CWE-732: Incorrect Permission Assignment for Critical Resource
Type: CWE
CWE ID: CWE-732
Description: CWE-732: Incorrect Permission Assignment for Critical Resource
Metrics
VersionBase scoreBase severityVector
3.13.2LOW
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Version: 3.1
Base score: 3.2
Base severity: LOW
Vector:
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
x_refsource_CONFIRM
https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
x_refsource_MISC
https://github.com/gradle/gradle/releases/tag/v7.6.3
x_refsource_MISC
https://github.com/gradle/gradle/releases/tag/v8.4.0
x_refsource_MISC
https://security.netapp.com/advisory/ntap-20231110-0006/
N/A
Hyperlink: https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
Resource:
x_refsource_MISC
Hyperlink: https://github.com/gradle/gradle/releases/tag/v7.6.3
Resource:
x_refsource_MISC
Hyperlink: https://github.com/gradle/gradle/releases/tag/v8.4.0
Resource:
x_refsource_MISC
Hyperlink: https://security.netapp.com/advisory/ntap-20231110-0006/
Resource: N/A
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
x_refsource_CONFIRM
x_transferred
https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
x_refsource_MISC
x_transferred
https://github.com/gradle/gradle/releases/tag/v7.6.3
x_refsource_MISC
x_transferred
https://github.com/gradle/gradle/releases/tag/v8.4.0
x_refsource_MISC
x_transferred
https://security.netapp.com/advisory/ntap-20231110-0006/
x_transferred
Hyperlink: https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/gradle/gradle/releases/tag/v7.6.3
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/gradle/gradle/releases/tag/v8.4.0
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://security.netapp.com/advisory/ntap-20231110-0006/
Resource:
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:05 Oct, 2023 | 18:15
Updated At:21 Jan, 2024 | 01:54

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.16.5MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Secondary3.13.2LOW
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Type: Primary
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Type: Secondary
Version: 3.1
Base score: 3.2
Base severity: LOW
Vector:
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
CPE Matches

Gradle, Inc.
gradle
>>gradle>>Versions before 7.6.3(exclusive)
cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*
Gradle, Inc.
gradle
>>gradle>>Versions from 8.0.0(inclusive) to 8.4.0(exclusive)
cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-732Primarysecurity-advisories@github.com
CWE ID: CWE-732
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7security-advisories@github.com
Patch
https://github.com/gradle/gradle/releases/tag/v7.6.3security-advisories@github.com
Release Notes
https://github.com/gradle/gradle/releases/tag/v8.4.0security-advisories@github.com
Release Notes
https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9security-advisories@github.com
Vendor Advisory
https://security.netapp.com/advisory/ntap-20231110-0006/security-advisories@github.com
Third Party Advisory
Hyperlink: https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/gradle/gradle/releases/tag/v7.6.3
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/gradle/gradle/releases/tag/v8.4.0
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20231110-0006/
Source: security-advisories@github.com
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found