{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2022-31156","title":"Title"},{"category":"description","text":"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.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2022-31156","url":"https://www.suse.com/security/cve/CVE-2022-31156"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1201530 for CVE-2022-31156","url":"https://bugzilla.suse.com/1201530"}],"title":"SUSE CVE CVE-2022-31156","tracking":{"current_release_date":"2025-10-07T01:55:50Z","generator":{"date":"2023-02-15T03:25:43Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2022-31156","initial_release_date":"2023-02-15T03:25:43Z","revision_history":[{"date":"2023-02-15T03:25:43Z","number":"2","summary":"Current version"},{"date":"2025-01-01T03:03:32Z","number":"3","summary":"Current version"},{"date":"2025-01-10T01:54:20Z","number":"4","summary":"Current version"},{"date":"2025-02-14T07:42:58Z","number":"5","summary":"Current version"},{"date":"2025-02-16T07:26:01Z","number":"6","summary":"Current version"},{"date":"2025-03-15T07:32:24Z","number":"7","summary":"Current version"},{"date":"2025-04-25T03:38:34Z","number":"8","summary":"Current version"},{"date":"2025-10-07T01:55:50Z","number":"9","summary":"Current version"}],"status":"interim","version":"9"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Enterprise Storage 7","product":{"name":"SUSE Enterprise Storage 7","product_id":"SUSE Enterprise Storage 7","product_identification_helper":{"cpe":"cpe:/o:suse:ses:7"}}},{"category":"product_name","name":"SUSE Enterprise Storage 7.1","product":{"name":"SUSE Enterprise Storage 7.1","product_id":"SUSE Enterprise Storage 7.1","product_identification_helper":{"cpe":"cpe:/o:suse:ses:7.1"}}},{"category":"product_name","name":"SUSE Linux Enterprise Desktop 15 SP3","product":{"name":"SUSE Linux Enterprise Desktop 15 SP3","product_id":"SUSE Linux Enterprise Desktop 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sled:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Desktop 15 SP4","product":{"name":"SUSE Linux Enterprise Desktop 15 SP4","product_id":"SUSE Linux Enterprise Desktop 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sled:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-espos:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP3","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP3","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP4","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP4","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Module for Development Tools 15 SP3","product":{"name":"SUSE Linux Enterprise Module for Development Tools 15 SP3","product_id":"SUSE Linux Enterprise Module for Development Tools 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-development-tools:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Module for Development Tools 15 SP4","product":{"name":"SUSE Linux Enterprise Module for Development Tools 15 SP4","product_id":"SUSE Linux Enterprise Module for Development Tools 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-development-tools:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP2-LTSS","product":{"name":"SUSE Linux Enterprise Server 15 SP2-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP2-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sles-ltss:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP3","product":{"name":"SUSE Linux Enterprise Server 15 SP3","product_id":"SUSE Linux Enterprise Server 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sles:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP4","product":{"name":"SUSE Linux Enterprise Server 15 SP4","product_id":"SUSE Linux Enterprise Server 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sles:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server Business Critical Linux 15 SP2","product":{"name":"SUSE Linux Enterprise Server Business Critical Linux 15 SP2","product_id":"SUSE Linux Enterprise Server Business Critical Linux 15 SP2","product_identification_helper":{"cpe":"cpe:/o:suse:sles_bcl:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP2","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP2","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP2","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp4"}}},{"category":"product_name","name":"SUSE Manager Proxy 4.1","product":{"name":"SUSE Manager Proxy 4.1","product_id":"SUSE Manager Proxy 4.1","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-proxy:4.1"}}},{"category":"product_name","name":"SUSE Manager Proxy 4.2","product":{"name":"SUSE Manager Proxy 4.2","product_id":"SUSE Manager Proxy 4.2","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-proxy:4.2"}}},{"category":"product_name","name":"SUSE Manager Proxy 4.3","product":{"name":"SUSE Manager Proxy 4.3","product_id":"SUSE Manager Proxy 4.3","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-proxy:4.3"}}},{"category":"product_name","name":"SUSE Manager Retail Branch Server 4.1","product":{"name":"SUSE Manager Retail Branch Server 4.1","product_id":"SUSE Manager Retail Branch Server 4.1","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-retail-branch-server:4.1"}}},{"category":"product_name","name":"SUSE Manager Retail Branch Server 4.2","product":{"name":"SUSE Manager Retail Branch Server 4.2","product_id":"SUSE Manager Retail Branch Server 4.2","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-retail-branch-server:4.2"}}},{"category":"product_name","name":"SUSE Manager Retail Branch Server 4.3","product":{"name":"SUSE Manager Retail Branch Server 4.3","product_id":"SUSE Manager Retail Branch Server 4.3","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-retail-branch-server:4.3"}}},{"category":"product_name","name":"SUSE Manager Server 4.1","product":{"name":"SUSE Manager Server 4.1","product_id":"SUSE Manager Server 4.1","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-server:4.1"}}},{"category":"product_name","name":"SUSE Manager Server 4.2","product":{"name":"SUSE Manager Server 4.2","product_id":"SUSE Manager Server 4.2","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-server:4.2"}}},{"category":"product_name","name":"SUSE Manager Server 4.3","product":{"name":"SUSE Manager Server 4.3","product_id":"SUSE Manager Server 4.3","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-server:4.3"}}},{"category":"product_version","name":"gradle","product":{"name":"gradle","product_id":"gradle","product_identification_helper":{"cpe":"cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/gradle@?upstream=gradle.src.rpm"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Enterprise Storage 7","product_id":"SUSE Enterprise Storage 7:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Enterprise Storage 7"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server 15 SP3","product_id":"SUSE Linux Enterprise Server 15 SP3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Desktop 15 SP3","product_id":"SUSE Linux Enterprise Desktop 15 SP3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Desktop 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server for SAP Applications 15 SP3","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise High Performance Computing 15 SP3","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Server 4.2","product_id":"SUSE Manager Server 4.2:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Server 4.2"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Proxy 4.2","product_id":"SUSE Manager Proxy 4.2:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Proxy 4.2"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Retail Branch Server 4.2","product_id":"SUSE Manager Retail Branch Server 4.2:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Retail Branch Server 4.2"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Enterprise Storage 7.1","product_id":"SUSE Enterprise Storage 7.1:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Enterprise Storage 7.1"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Module for Development Tools 15 SP3","product_id":"SUSE Linux Enterprise Module for Development Tools 15 SP3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Module for Development Tools 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server 15 SP4","product_id":"SUSE Linux Enterprise Server 15 SP4:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Desktop 15 SP4","product_id":"SUSE Linux Enterprise Desktop 15 SP4:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Desktop 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise High Performance Computing 15 SP4","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Server 4.3","product_id":"SUSE Manager Server 4.3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Server 4.3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Proxy 4.3","product_id":"SUSE Manager Proxy 4.3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Proxy 4.3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Retail Branch Server 4.3","product_id":"SUSE Manager Retail Branch Server 4.3:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Retail Branch Server 4.3"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Module for Development Tools 15 SP4","product_id":"SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Module for Development Tools 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server 15 SP2-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP2-LTSS:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP2-LTSS"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server Business Critical Linux 15 SP2","product_id":"SUSE Linux Enterprise Server Business Critical Linux 15 SP2:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server Business Critical Linux 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Linux Enterprise Server for SAP Applications 15 SP2","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP2:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Proxy 4.1","product_id":"SUSE Manager Proxy 4.1:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Proxy 4.1"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Retail Branch Server 4.1","product_id":"SUSE Manager Retail Branch Server 4.1:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Retail Branch Server 4.1"},{"category":"default_component_of","full_product_name":{"name":"gradle as component of SUSE Manager Server 4.1","product_id":"SUSE Manager Server 4.1:gradle"},"product_reference":"gradle","relates_to_product_reference":"SUSE Manager Server 4.1"}]},"vulnerabilities":[{"cve":"CVE-2022-31156","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2022-31156"}],"notes":[{"category":"general","text":"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.","title":"CVE description"}],"product_status":{"known_not_affected":["SUSE Enterprise Storage 7.1:gradle","SUSE Enterprise Storage 7:gradle","SUSE Linux Enterprise Desktop 15 SP3:gradle","SUSE Linux Enterprise Desktop 15 SP4:gradle","SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS:gradle","SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS:gradle","SUSE Linux Enterprise High Performance Computing 15 SP3:gradle","SUSE Linux Enterprise High Performance Computing 15 SP4:gradle","SUSE Linux Enterprise Module for Development Tools 15 SP3:gradle","SUSE Linux Enterprise Module for Development Tools 15 SP4:gradle","SUSE Linux Enterprise Server 15 SP2-LTSS:gradle","SUSE Linux Enterprise Server 15 SP3:gradle","SUSE Linux Enterprise Server 15 SP4:gradle","SUSE Linux Enterprise Server Business Critical Linux 15 SP2:gradle","SUSE Linux Enterprise Server for SAP Applications 15 SP2:gradle","SUSE Linux Enterprise Server for SAP Applications 15 SP3:gradle","SUSE Linux Enterprise Server for SAP Applications 15 SP4:gradle","SUSE Manager Proxy 4.1:gradle","SUSE Manager Proxy 4.2:gradle","SUSE Manager Proxy 4.3:gradle","SUSE Manager Retail Branch Server 4.1:gradle","SUSE Manager Retail Branch Server 4.2:gradle","SUSE Manager Retail Branch Server 4.3:gradle","SUSE Manager Server 4.1:gradle","SUSE Manager Server 4.2:gradle","SUSE Manager Server 4.3:gradle"]},"references":[{"category":"external","summary":"CVE-2022-31156","url":"https://www.suse.com/security/cve/CVE-2022-31156"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1201530 for CVE-2022-31156","url":"https://bugzilla.suse.com/1201530"}],"threats":[{"category":"impact","date":"2022-07-15T00:00:21Z","details":"moderate"}],"title":"CVE-2022-31156"}]}