CRITICAL9.8
GO-2021-0159
Request smuggling due to improper header parsing in net/http
Quick fix
GO-2021-0159 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.4.3Details
HTTP headers were not properly parsed, which allows remote attackers to conduct HTTP request smuggling attacks via a request that contains Content-Length and Transfer-Encoding header fields.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://go.dev/cl/13148[FIX]
- https://go.googlesource.com/go/+/26049f6f9171d1190f3bbe05ec304845cfe6399f[FIX]
- https://go.dev/cl/11772[FIX]
- https://go.dev/cl/11810[FIX]
- https://go.dev/cl/12865[FIX]
- https://go.googlesource.com/go/+/117ddcb83d7f42d6aa72241240af99ded81118e9[FIX]
- https://go.googlesource.com/go/+/300d9a21583e7cf0149a778a0611e76ff7c6680f[FIX]
- https://go.googlesource.com/go/+/c2db5f4ccc61ba7df96a747e268a277b802cbb87[FIX]
- https://go.dev/issue/12027[REPORT]
- https://go.dev/issue/11930[REPORT]
- https://groups.google.com/g/golang-announce/c/iSIyW4lM4hY/m/ADuQR4DiDwAJ[WEB]