CVE-2024-29903
published medium CVSS 3.1 · 4.2Cosign vulnerable to machine-wide denial of service via malicious artifacts
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 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 14 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 |
Description
Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, maliciously-crafted software artifacts can cause denial of service of the machine running Cosign thereby impacting all services on the machine. The root cause is that Cosign creates slices based on the number of signatures, manifests or attestations in untrusted artifacts. As such, the untrusted artifact can control the amount of memory that Cosign allocates. The exact issue is Cosign allocates excessive memory on the lines that creates a slice of the same length as the manifests. 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 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/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/cosign/verify.go#L948-L955
- https://github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oci/remote/signatures.go#L56-L70
- 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-95pr-fxf5-86gv
Provider assertions
3GitHub_M · cna
Cosign vulnerable to machine-wide denial of service via malicious artifacts
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c4ef9333570a3e56cf37faf3fc3e9ce4dba6ae44ba06b0e1c3e5271e60b44cca
- Ingested
- 23 Sep 2026, 08:21:29 UTC
- Source record
- Official CVE record