CVEfocus › CVE database › CVE-2022-23630

CVE-2022-23630Dependency verification bypass in Gradle

CVSS 7.5 HighEPSS 1.1% (higher than 65% of CVEs)Published 2022-02-10Updated 2025-04-23Assigner: GitHub_M

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.

CWE-829

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gradleFix pendingUBUNTU-CVE-2022-23630
Ubuntu 26.04gradleUnder investigationUBUNTU-CVE-2022-23630
Ubuntu 25.10gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23630
Ubuntu 24.04gradleUnder investigationUBUNTU-CVE-2022-23630
Ubuntu 22.04gradleUnder investigationUBUNTU-CVE-2022-23630
Ubuntu 20.04gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23630
Ubuntu 18.04gradleFix pendingUBUNTU-CVE-2022-23630
Ubuntu 16.04gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-23630
Ubuntu 14.04gradleWill not fix
Ubuntu decided not to fix this in this release

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.