ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-31525

golang: net/http: panic in ReadRequest and ReadResponse when reading a very large header

Moderate No fix available CVE-2021-31525

Details

A vulnerability was detected in net/http of the Go standard library when parsing very large HTTP header values, causing a crash and subsequent denial of service. This vulnerability affects both clients and servers written in Go, however, servers are only vulnerable if the value of MaxHeaderBytes has been increased from the default.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7buildah
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-bin
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-misc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-src
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-tests
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8buildah
All versions, will not be fixed
Red Hat:enterprise_linux:8buildah-tests
All versions, will not be fixed

References