Allocation of Resources Without Limits or Throttling Affecting amphp/http package, versions <1.7.3>=2.0.0-beta.1, <2.1.1


Severity

Recommended
0.0
high
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-PHP-AMPHPHTTP-6531295
  • published4 Apr 2024
  • disclosed3 Apr 2024
  • creditBartek Nowotarski

Introduced: 3 Apr 2024

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

How to fix?

Upgrade amphp/http to version 1.7.3, 2.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when reading CONTINUATION frames without checking for headerSizeLimit . An attacker can cause a an out-of-memory crash by by sending excessive CONTINUATION frames without an END_HEADERS.

CVSS Scores

version 3.1