CVE-2024-29902

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-29902
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29902.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-29902
Aliases
Related
Withdrawn
2024-10-02T01:19:46.891543Z
Published
2024-04-10T23:15:06Z
Modified
2024-06-05T16:43:16.838351Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/sigstore/cosign

Affected ranges

Type
GIT
Repo
https://github.com/sigstore/cosign
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

cosigned-v0.*

cosigned-v0.0.1-dev
cosigned-v0.0.2-dev
cosigned-v0.0.3-dev

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.3.1
v0.4.0
v0.5.0
v0.6.0

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.10.0
v1.10.0-rc.1
v1.10.1
v1.11.0
v1.11.1
v1.12.0
v1.12.1
v1.13.0
v1.13.1
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.9.0

v2.*

v2.0.0
v2.0.0-rc.0
v2.0.0-rc.1
v2.0.0-rc.2
v2.0.0-rc.3
v2.0.1
v2.0.2
v2.1.0
v2.1.1
v2.2.0
v2.2.1
v2.2.2
v2.2.3