CRLF Injection Affecting python3-h2 package, versions <0:4.0.0-2.amzn2023.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.15% (83rd 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 IDSNYK-AMZN2023-PYTHON3H2-12764346
  • published16 Sept 2025
  • disclosed25 Aug 2025

Introduced: 25 Aug 2025

CVE-2025-57804  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-h2 to version 0:4.0.0-2.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2025-1181.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-h2 package and not the python3-h2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

h2 is a pure-Python implementation of a HTTP/2 protocol stack. Prior to version 4.3.0, an HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass security controls. This issue has been patched in version 4.3.0.

CVSS Base Scores

version 3.1