Allocation of Resources Without Limits or Throttling Affecting trivy package, versions <0.59.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-CHAINGUARDLATEST-TRIVY-8754512
  • published27 Feb 2025
  • disclosed24 Feb 2025

Introduced: 24 Feb 2025

NewCVE-2025-27144  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Chainguard trivy to version 0.59.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream trivy package and not the trivy package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. In versions on the 4.x branch prior to version 4.0.5, when parsing compact JWS or JWE input, Go JOSE could use excessive memory. The code used strings.Split(token, ".") to split JWT tokens, which is vulnerable to excessive memory consumption when processing maliciously crafted tokens with a large number of . characters. An attacker could exploit this by sending numerous malformed tokens, leading to memory exhaustion and a Denial of Service. Version 4.0.5 fixes this issue. As a workaround, applications could pre-validate that payloads passed to Go JOSE do not contain an excessive number of . characters.

CVSS Scores

version 3.1