Vulnerabilities · 2022 · Golang
CVE-2022-41721
Golang H2c vulnerability
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.
Affected products
H2c. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang H2c runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- go.dev/cl/447396 · Patch
- go.dev/issue/56352 · Exploit
- pkg.go.dev/vuln/GO-2023-1495 · Vendor Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/X3H
- lists.fedoraproject.org/archives/list/[email protected]/message/X5D
- nvd.nist.gov/vuln/detail/CVE-2022-41721
- lists.fedoraproject.org/archives/list/[email protected]/message/X3H
- lists.fedoraproject.org/archives/list/[email protected]/message/X5D
- nvd.nist.gov/vuln/detail/CVE-2022-41721
- cve.org/CVERecord?id=CVE-2022-41721
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.