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

    Threat Intelligence

    EPSS
    0.05% (17th 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-PHP-AMPHPHTTP-6531295
  • published 4 Apr 2024
  • disclosed 3 Apr 2024
  • credit Bartek Nowotarski

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High