Allocation of Resources Without Limits or Throttling Affecting github.com/stacklok/minder/internal/verifier/sigstore/container package, versions <0.0.51


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-GITHUBCOMSTACKLOKMINDERINTERNALVERIFIERSIGSTORECONTAINER-7148537
  • published28 May 2024
  • disclosed27 May 2024
  • creditAdamKorcz

Introduced: 27 May 2024

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

How to fix?

Upgrade github.com/stacklok/minder/internal/verifier/sigstore/container to version 0.0.51 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the getAttestationReply process. An attacker can cause the server to crash and deny service to other users by sending a crafted response with a large body size from an attacker-controlled endpoint. This is only exploitable if the attacker has added a package to ghcr.io with attestations configured to return a large response when fetched, and the attacker has registered on Minder to make the server fetch these attestations.

CVSS Scores

version 3.1