Vulnerability Name: | CVE-2022-23630 (CCN-219445) | ||||||||||||
Assigned: | 2022-02-10 | ||||||||||||
Published: | 2022-02-10 | ||||||||||||
Updated: | 2022-02-17 | ||||||||||||
Summary: | 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. | ||||||||||||
CVSS v3 Severity: | 7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) 6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
5.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
| ||||||||||||
CVSS v2 Severity: | 6.0 Medium (CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P)
| ||||||||||||
Vulnerability Type: | CWE-829 | ||||||||||||
Vulnerability Consequences: | Gain Access | ||||||||||||
References: | Source: MITRE Type: CNA CVE-2022-23630 Source: MISC Type: Release Notes, Vendor Advisory https://docs.gradle.org/7.4/release-notes.html Source: XF Type: UNKNOWN gradle-cve202223630-code-exec(219445) Source: MISC Type: Patch, Third Party Advisory https://github.com/gradle/gradle/commit/88ab9b652933bc3b2e3161b31ad8b8f4f0516351 Source: CCN Type: Gradle GIT Repository Dependency verification can be bypassed when using ResolutionStrategy.disableDependencyVerification() Source: CONFIRM Type: Mitigation, Third Party Advisory https://github.com/gradle/gradle/security/advisories/GHSA-9pf5-88jw-3qgr | ||||||||||||
Vulnerable Configuration: | Configuration 1:![]() | ||||||||||||
BACK |