Resource exhaustion in Cosign - CVE-2024-29902
Published: May 7, 2024
Vulnerability identifier: #VU89209
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-29902
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources when handling attachments. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.
Affected software
Cosign
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Basesystem Module
openSUSE Leap
cosign-debuginfo
cosign
Red Hat Advanced Cluster Security for Kubernetes
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Basesystem Module
openSUSE Leap
cosign-debuginfo
cosign
Red Hat Advanced Cluster Security for Kubernetes
How to mitigate CVE-2024-29902
Install updates from vendor's website.
Cosign - update to 2.2.4
cosign-debuginfo - update to 2.2.4-150400.3.20.1
cosign - update to 2.2.4-150400.3.20.1
Red Hat Advanced Cluster Security for Kubernetes - update to 4.5.0
cosign-debuginfo - update to 2.2.4-150400.3.20.1
cosign - update to 2.2.4-150400.3.20.1
Red Hat Advanced Cluster Security for Kubernetes - update to 4.5.0
External References
- https://github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qc
- https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e
- https://github.com/google/go-containerregistry/blob/a0658aa1d0cc7a7f1bcc4a3af9155335b6943f40/pkg/v1/remote/layer.go#L36-L40
- https://github.com/sigstore/cosign/blob/9bc3ee309bf35d2f6e17f5d23f231a3d8bf580bc/pkg/oci/remote/remote.go#L228-L239
- https://github.com/sigstore/cosign/releases/tag/v2.2.4