| { |
| "schema_version": "1.3.1", |
| "id": "GO-2022-0212", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2022-05-23T22:46:20Z", |
| "aliases": [ |
| "CVE-2019-16276" |
| ], |
| "summary": "Request smuggling due to accepting invalid headers in net/http via net/textproto", |
| "details": "net/http (through net/textproto) used to accept and normalize invalid HTTP/1.1 headers with a space before the colon, in violation of RFC 7230.\n\nIf a Go server is used behind an uncommon reverse proxy that accepts and forwards but doesn't normalize such invalid headers, the reverse proxy and the server can interpret the headers differently. This can lead to filter bypasses or request smuggling, the latter if requests from separate clients are multiplexed onto the same upstream connection by the proxy. Such invalid headers are now rejected by Go servers, and passed without normalization to Go client applications.", |
| "affected": [ |
| { |
| "package": { |
| "name": "stdlib", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.12.10" |
| }, |
| { |
| "introduced": "1.13.0-0" |
| }, |
| { |
| "fixed": "1.13.1" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "net/textproto", |
| "symbols": [ |
| "Reader.ReadMimeHeader" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/197503" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://go.googlesource.com/go/+/41b1f88efab9d263408448bf139659119002ea50" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/34540" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/cszieYyuL9Q/m/g4Z7pKaqAgAJ" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Andrew Stucki (99designs.com)" |
| }, |
| { |
| "name": "Adam Scarr (99designs.com)" |
| }, |
| { |
| "name": "Jan Masarik (masarik.sh)" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0212", |
| "review_status": "REVIEWED" |
| } |
| } |