Gradle is a build tool. Dependency verification is a security feature in Gradle Build Tool that was introduced to allow validation of external dependencies either through their checksum or cryptographic signatures. In versions 6.2 through 7.4.2, there are some cases in which Gradle may skip that verification and accept a dependency that would otherwise fail the build as an untrusted external artifact. This can occur in two ways. When signature verification is disabled but the verification metadata contains entries for dependencies that only have a `gpg` element but no `checksum` element. When signature verification is enabled, the verification metadata contains entries for dependencies with a `gpg` element but there is no signature file on the remote repository. In both cases, the verification will accept the dependency, skipping signature verification and not complaining that the dependency has no checksum entry. For builds that are vulnerable, there are two risks. Gradle could download a malicious binary from a repository outside your organization due to name squatting. For those still using HTTP only and not HTTPS for downloading dependencies, the build could download a malicious library instead of the expected one. Gradle 7.5 patches this issue by making sure to run checksum verification if signature verification cannot be completed, whatever the reason. Two workarounds are available: Remove all `gpg` elements from dependency verification metadata if you disable signature validation and/or avoid adding `gpg` entries for dependencies that do not have signature files.
総合評価: CVE-2022-31156 は低リスク(39.2/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.45%、36 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.20% | 0.45% | +0.25% |
| 2 | 2025-07-15 | 0.05% | 0.20% | +0.15% |
| 3 | 2023-07-21 | — | 0.05% | — |
EPSS の全履歴 (全 5 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.6 | 3.1 | MEDIUM |
|
0.7 | 5.9 | [email protected] |
| 4.4 | 3.1 | MEDIUM |
|
0.7 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2022-31156: 1 source package rows (gradle); 4 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 4. | https://security.alpinelinux.org/vuln/CVE-2022-31156 |
debian
|
unimportant | CVE-2022-31156 unimportant priority: Debian including 1 source packages (gradle), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-31156 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2022-31156 |
suse
|
medium | CVE-2022-31156 severity moderate: SUSE including 1 source package names (gradle), 11 product×package rows across 11 product lines (SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, … (11 product lines)): Known Not Affected 11. | https://www.suse.com/security/cve/CVE-2022-31156/ |
ubuntu
|
medium | CVE-2022-31156 medium priority: Ubuntu including 1 source packages (gradle), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 7. | https://ubuntu.com/security/CVE-2022-31156 |
| URL | タグ |
|---|---|
| https://docs.gradle.org/7.5/release-notes.html | Release Notes Vendor Advisory |
| https://github.com/gradle/gradle/security/advisories/GHSA-j6wc-xfg8-jx2j | Third Party Advisory |