CVE-2022-41721: golang h2c HTTP Request/Response Smuggling
Vulnerability summary
CVE-2022-41721 is a high (CVSS 7.5) HTTP Request/Response Smuggling vulnerability in golang h2c. EPSS estimates a 1.81% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 13-01-2023PublishedVulnerability first disclosed.
- 04-04-2025Last modifiedVulnerability information updated.
Description
A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.81%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
0.00 pp
From 1.81% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (go.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- golang-golang-x-net< 1:0.4.0+dfsg-1
Golang1 product
- h2c< 2022-11-04
Golang.org/x1 product
- net≥ 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862
Golang.org/x/net1 product
- golang.org/x/net/http2/h2c≥ 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862
Opensuse1 product
- caddy&distro=openSUSE Tumbleweed< 2.6.3-1.1
5 vendors · 5 products