Allocation of Resources Without Limits or Throttling Affecting github.com/sigstore/cosign/internal/pkg/cosign package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIGSTORECOSIGNINTERNALPKGCOSIGN-6595947
  • published11 Apr 2024
  • disclosed10 Apr 2024
  • creditUnknown

Introduced: 10 Apr 2024

CVE-2024-29902  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

There is no fixed version for github.com/sigstore/cosign/internal/pkg/cosign.

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.

CVSS Scores

version 3.1