CVE-2024-29902
published medium CVSS 3.1 · 4.2Cosign vulnerable to system-wide denial of service via malicious attachments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sigstore | — | cosign< 2.2.4 | Affected | Not stated | GitHub_M |
| sigstore | — | cosign0.1.0 to < 2.2.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP5 | cosignaarch64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | SLE-15-SP5 | cosignppc64le | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | SLE-15-SP5 | cosigns390x | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | SLE-15-SP5 | cosignx86_64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | SLE-15-SP6 | cosignaarch64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | SLE-15-SP6 | cosignppc64le | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cosigns390x | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | SLE-15-SP6 | cosignx86_64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cosignaarch64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cosignppc64le | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cosigns390x | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cosignx86_64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cosignaarch64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cosignppc64le | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cosigns390x | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cosignx86_64 | Advisory build | 2.2.4-150400.3.20.1 | SUSE-SU-2024:1486-2 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cosignaarch64 | Advisory build | 2.2.4-1.1 | OPENSUSE-SU-2024:13863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cosignppc64le | Advisory build | 2.2.4-1.1 | OPENSUSE-SU-2024:13863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cosigns390x | Advisory build | 2.2.4-1.1 | OPENSUSE-SU-2024:13863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cosignx86_64 | Advisory build | 2.2.4-1.1 | OPENSUSE-SU-2024:13863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportaarch64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportppc64le | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleports390x | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleportx86_64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotaarch64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotppc64le | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbots390x | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tbotx86_64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlaarch64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlppc64le | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctls390x | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tctlx86_64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshaarch64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshppc64le | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshs390x | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | teleport-tshx86_64 | Advisory build | 15.2.4-1.1 | OPENSUSE-SU-2024:13903-1 |
Description
Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, a remote image with a malicious attachment can cause denial of service of the host machine running Cosign. This can impact other services on the machine that rely on having memory available such as a Redis database which can result in data loss. It can also impact the availability of other services on the machine that will not be available for the duration of the machine denial. The root cause of this issue is that Cosign reads the attachment from a remote image entirely into memory without checking the size of the attachment first. As such, a large attachment can make Cosign read a large attachment into memory; If the attachments size is larger than the machine has memory available, the machine will be denied of service. The Go runtime will make a SigKill after a few seconds of system-wide denial. This issue can allow a supply-chain escalation from a compromised registry to the Cosign user: If an attacher has compromised a registry or the account of an image vendor, they can include a malicious attachment and hurt the image consumer. Version 2.2.4 contains a patch for the vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sigstore | cosign | < 2.2.4 (affected) | GitHub_M · cna |
| sigstore | cosign | 0.1.0 to < 2.2.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
5- 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/commit/629f5f8fa672973503edde75f84dcd984637629e
- https://github.com/sigstore/cosign/releases/tag/v2.2.4
- https://github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qc
Provider assertions
3GitHub_M · cna
Cosign vulnerable to system-wide denial of service via malicious attachments
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8281092339b4368a85170d9b6261f122c0a5665856218e716df24cef95b9c836
- Ingested
- 23 Sep 2026, 08:21:29 UTC
- Source record
- Official CVE record