Vulnerability · Published May 27, 2021 · Assigned by mitre

CVE-2021-31525

Medium 5.9

In plain English

A medium-severity security flaw in the go package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)3.7%top 10.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20go1.16.4-r0ALPINE-CVE-2021-31525
Alpine:v3.21go1.16.4-r0ALPINE-CVE-2021-31525
Alpine:v3.22go1.16.4-r0ALPINE-CVE-2021-31525
Alpine:v3.23go1.16.4-r0ALPINE-CVE-2021-31525
Alpine:v3.24go1.16.4-r0ALPINE-CVE-2021-31525
Debian:12golang-golang-x-net1:0.0+git20210119.5f4716e+dfsg-3DEBIAN-CVE-2021-31525
Debian:13golang-golang-x-net1:0.0+git20210119.5f4716e+dfsg-3DEBIAN-CVE-2021-31525
Debian:14golang-golang-x-net1:0.0+git20210119.5f4716e+dfsg-3DEBIAN-CVE-2021-31525
Gogolang.org/x/net0.0.0-20210428140749-89ef3d95e781GHSA-h86h-8ppg-mxmh
Gogolang.org/x/net0.0.0-20210428140749-89ef3d95e781GO-2022-0236
Gostdlib1.15.12, 1.16.4GO-2022-0236
Rocky Linux:8delve0:1.5.0-2.module+el8.4.0+396+d2d16ae3RLSA-2021:3076
Rocky Linux:8go-toolset0:1.15.14-1.module+el8.4.0+632+4dba2916RLSA-2021:3076
Rocky Linux:8golang0:1.15.14-1.module+el8.4.0+632+4dba2916RLSA-2021:3076

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References