CVE-2022-23630

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23630
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23630.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-23630
Aliases
Downstream
Published
2022-02-10T20:10:09Z
Modified
2025-10-30T20:32:31.750665Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Dependency verification bypass in Gradle
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-829"
    ]
}
References

Affected packages

Git / github.com/gradle/gradle

Affected ranges

Type
GIT
Repo
https://github.com/gradle/gradle
Events

Affected versions

v6.*

v6.2.0
v6.2.1
v6.2.2
v6.3.0
v6.3.0-RC1
v6.3.0-RC2
v6.3.0-RC3
v6.3.0-RC4
v6.4.0
v6.4.0-RC1
v6.4.0-RC2
v6.4.0-RC3
v6.4.0-RC4
v6.4.1
v6.5.0
v6.5.0-M1
v6.5.0-M2
v6.5.0-RC1
v6.5.1
v6.6.0
v6.6.0-M1
v6.6.0-M2
v6.6.0-M3
v6.6.0-RC1
v6.6.0-RC2
v6.6.0-RC3
v6.6.0-RC4
v6.6.0-RC5
v6.6.0-RC6
v6.6.1
v6.7.0
v6.7.0-RC1
v6.7.0-RC2
v6.7.0-RC3
v6.7.0-RC4
v6.7.0-RC5
v6.7.1
v6.8.0
v6.8.0-M1
v6.8.0-M2
v6.8.0-M3
v6.8.0-RC1
v6.8.0-RC2
v6.8.0-RC3
v6.8.0-RC4
v6.8.0-RC5
v6.8.1
v6.8.2
v6.8.3

v7.*

v7.0.0
v7.0.0-M1
v7.0.0-M2
v7.0.0-M3
v7.0.0-RC1
v7.0.0-RC2
v7.0.1
v7.0.2
v7.1.0
v7.1.0-RC1
v7.1.0-RC2
v7.1.1
v7.2.0
v7.2.0-RC1
v7.2.0-RC2
v7.2.0-RC3
v7.3.0
v7.3.0-RC1
v7.3.0-RC2
v7.3.0-RC3
v7.3.0-RC4
v7.3.0-RC5
v7.3.1
v7.3.2
v7.3.3
v7.3.3-RC1
v7.4.0-RC1
v7.4.0-RC2