CVE-2022-23630

Gradle is a build tool with a focus on build automation and support for multi-language development. In some cases, Gradle may skip that verification and accept a dependency that would otherwise fail the build as an untrusted external artifact. This occurs when dependency verification is disabled on one or more configurations and those configurations have common dependencies with other configurations that have dependency verification enabled. If the configuration that has dependency verification disabled is resolved first, Gradle does not verify the common dependencies for the configuration that has dependency verification enabled. Gradle 7.4 fixes that issue by validating artifacts at least once if they are present in a resolved configuration that has dependency verification active. For users who cannot update either do not use `ResolutionStrategy.disableDependencyVerification()` and do not use plugins that use that method to disable dependency verification for a single configuration or make sure resolution of configuration that disable that feature do not happen in builds that resolve configuration where the feature is enabled.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*

History

17 Feb 2022, 17:41

Type Values Removed Values Added
First Time Gradle
Gradle gradle
CVSS v2 : unknown
v3 : unknown
v2 : 6.0
v3 : 7.5
References (MISC) https://github.com/gradle/gradle/commit/88ab9b652933bc3b2e3161b31ad8b8f4f0516351 - (MISC) https://github.com/gradle/gradle/commit/88ab9b652933bc3b2e3161b31ad8b8f4f0516351 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/gradle/gradle/security/advisories/GHSA-9pf5-88jw-3qgr - (CONFIRM) https://github.com/gradle/gradle/security/advisories/GHSA-9pf5-88jw-3qgr - Mitigation, Third Party Advisory
References (MISC) https://docs.gradle.org/7.4/release-notes.html - (MISC) https://docs.gradle.org/7.4/release-notes.html - Release Notes, Vendor Advisory
CPE cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*

10 Feb 2022, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-10 20:15

Updated : 2022-02-17 17:41


NVD link : CVE-2022-23630

Mitre link : CVE-2022-23630


JSON object : View

Products Affected

gradle

  • gradle
CWE
CWE-829

Inclusion of Functionality from Untrusted Control Sphere