High severityNVD Advisory· Published Jan 13, 2023· Updated Apr 4, 2025
Request smuggling due to improper request handling in golang.org/x/net/http2/h2c
CVE-2022-41721
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
golang.org/x/netGo | >= 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862 | 0.1.1-0.20221104162952-702349b0e862 |
Affected products
11- osv-coords10 versionspkg:apk/chainguard/kyverno-1.8pkg:apk/chainguard/kyverno-cli-1.8pkg:apk/chainguard/kyverno-init-container-1.8pkg:apk/chainguard/py3-seldon-core-1.16pkg:apk/chainguard/seldon-core-operator-1.16pkg:apk/chainguard/seldon-core-operator-compatpkg:apk/chainguard/seldon-core-operator-compat-helmpkg:apk/chainguard/seldon-core-operator-fipspkg:golang/golang.org/x/netpkg:rpm/opensuse/caddy&distro=openSUSE%20Tumbleweed
< 1.8.5-r2+ 9 more
- (no CPE)range: < 1.8.5-r2
- (no CPE)range: < 1.8.5-r2
- (no CPE)range: < 1.8.5-r2
- (no CPE)range: < 1.16.0-r6
- (no CPE)range: < 1.16.0-r1
- (no CPE)range: < 1.16.0-r6
- (no CPE)range: < 1.16.0-r1
- (no CPE)range: < 1.16.0-r6
- (no CPE)range: >= 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862
- (no CPE)range: < 2.6.3-1.1
- golang.org/x/net/golang.org/x/net/http2/h2cv5Range: 0.0.0-20220524220425-1d687d428aca
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-fxg5-wq6x-vr4wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-41721ghsaADVISORY
- cs.opensource.google/go/x/netghsaPACKAGE
- go.dev/cl/447396ghsaWEB
- go.dev/issue/56352ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJNghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GPghsaWEB
- pkg.go.dev/vuln/GO-2023-1495ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/mitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GP/mitre
News mentions
0No linked articles in our index yet.