Allocation of Resources Without Limits or Throttling Affecting github.com/sigstore/cosign/v2/cmd/cosign/cli/verify package, versions <2.2.4
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMSIGSTORECOSIGNV2CMDCOSIGNCLIVERIFY-6595948
- published 11 Apr 2024
- disclosed 10 Apr 2024
- credit Unknown
Introduced: 10 Apr 2024
New CVE-2024-29902 Open this link in a new tabHow to fix?
Upgrade github.com/sigstore/cosign/v2/cmd/cosign/cli/verify
to version 2.2.4 or higher.
Overview
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the process of reading attachments from a remote image entirely into memory without checking the size of the attachment first. An attacker can cause a denial of service of the host machine by including a large attachment in a remote image. If the attachment's size exceeds the available memory of the machine, it will lead to a system-wide denial of service. This vulnerability can escalate from a compromised registry to the user, impacting not only the availability of the service but also potentially leading to data loss in other services relying on available memory, such as databases.