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


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.05% (15th 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 ID SNYK-GOLANG-GITHUBCOMSIGSTORECOSIGNPKGOCI-6595950
  • published 11 Apr 2024
  • disclosed 10 Apr 2024
  • credit Unknown

How to fix?

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

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.