Allocation of Resources Without Limits or Throttling Affecting cgi package, versions <0.3.5.1>=0.3.6, <0.3.7>=0.4.0, <0.4.2


Severity

Recommended
0.0
medium
0
10

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

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-RUBY-CGI-9056163
  • published4 Mar 2025
  • disclosed3 Mar 2025
  • creditlio346

Introduced: 3 Mar 2025

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

How to fix?

Upgrade cgi to version 0.3.5.1, 0.3.7, 0.4.2 or higher.

Overview

cgi is a Support for the Common Gateway Interface protocol.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the Cookie.parse method. An attacker can cause nonlinear resource consumption by providing a malicious cooke.

CVSS Scores

version 4.0
version 3.1