CRLF Injection Affecting h2 package, versions [,4.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th 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 CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-H2-12201340
  • published27 Aug 2025
  • disclosed25 Aug 2025
  • creditsebastianosrt

Introduced: 25 Aug 2025

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

How to fix?

Upgrade h2 to version 4.3.0 or higher.

Overview

h2 is a Pure-Python HTTP/2 protocol implementation

Affected versions of this package are vulnerable to CRLF Injection due to insufficient validation in the request 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.

References

CVSS Base Scores

version 4.0
version 3.1