Vulnerability Details : CVE-2022-41721
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.
Products affected by CVE-2022-41721
- cpe:2.3:a:golang:h2c:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-41721
0.17%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 55 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-41721
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2022-41721
-
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-41721
-
https://go.dev/issue/56352
x/net/http2/h2c: ineffective mitigation for unsafe io.ReadAll · Issue #56352 · golang/go · GitHubExploit;Issue Tracking;Patch;Vendor Advisory
-
https://go.dev/cl/447396
http2/h2c: handle errors when reading HTTP/1 request body (I08d60953) · Gerrit Code ReviewPatch;Vendor Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/
[SECURITY] Fedora 37 Update: caddy-2.6.4-1.fc37 - package-announce - Fedora Mailing-Lists
-
https://pkg.go.dev/vuln/GO-2023-1495
GO-2023-1495 - Go PackagesVendor Advisory
Jump to