| { |
| "schema_version": "1.3.1", |
| "id": "GO-2023-1495", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2022-41721", |
| "GHSA-fxg5-wq6x-vr4w" |
| ], |
| "summary": "Request smuggling due to improper request handling in golang.org/x/net/http2/h2c", |
| "details": "A request smuggling attack is possible when using MaxBytesHandler.\n\nWhen 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": [ |
| { |
| "package": { |
| "name": "golang.org/x/net", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0.0.0-20220524220425-1d687d428aca" |
| }, |
| { |
| "fixed": "0.1.1-0.20221104162952-702349b0e862" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "golang.org/x/net/http2/h2c", |
| "symbols": [ |
| "h2cHandler.ServeHTTP", |
| "h2cUpgrade" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/56352" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/447396" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "John Howard (Google)" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2023-1495" |
| } |
| } |