CVE-2022-41721
HIGH 7.5CVSS 3.1golang.org/x/net/http2/h2c vulnerable to request smuggling attack
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.
- Published
- 13 Jan 2023
- Last modified
- 7 Aug 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-444
- Also known as
- GHSA-fxg5-wq6x-vr4wGO-2023-1495
- Sources
- NVDJSONOSV GHSA-fxg5-wq6x-vr4wJSONOSV GO-2023-1495JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | h2ccpe:2.3:a:golang:h2c:*:*:*:*:*:go:*:* |
< 2022-11-04 | 2022-11-04 |
| OSV | Go | golang.org/x/net | >= 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862 | 0.1.1-0.20221104162952-702349b0e862 |
References
- https://go.dev/cl/447396 · Patch, Vendor Advisory, WEB, FIX
- https://go.dev/issue/56352 · Exploit, Issue Tracking, Patch, Vendor Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GP/ · WEB
- https://pkg.go.dev/vuln/GO-2023-1495 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41721 · ADVISORY
- https://cs.opensource.google/go/x/net · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Jan 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jan 2023)