ubuntu-cve-2021-31525
Vulnerability from osv_ubuntu
Published
2021-05-27 13:15
Modified
2026-06-22 22:02
Summary
Details
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.
Severity
5.9 (Medium)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.net-dev",
"binary_version": "1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2"
},
{
"binary_name": "golang-golang-x-net-dev",
"binary_version": "1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-golang-x-net-dev",
"purl": "pkg:deb/ubuntu/golang-golang-x-net-dev@1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+git20150226.3d87fd6-3",
"0.0+git20151007.b846920+dfsg-1",
"1:0.0+git20150817.66f0418-1",
"1:0.0+git20160110.4fd4a9f-1",
"1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm1",
"1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "google-guest-agent",
"binary_version": "20240716.00-0ubuntu1~16.04.0+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "google-guest-agent",
"purl": "pkg:deb/ubuntu/google-guest-agent@20240716.00-0ubuntu1~16.04.0+esm3?arch=source\u0026distro=esm-apps-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20201217.02-0ubuntu1~16.04.0",
"20230426.00-0ubuntu2~16.04.3",
"20231004.02-0ubuntu1~16.04.1",
"20231004.02-0ubuntu1~16.04.2",
"20240716.00-0ubuntu1~16.04.0",
"20240716.00-0ubuntu1~16.04.0+esm1",
"20240716.00-0ubuntu1~16.04.0+esm2",
"20240716.00-0ubuntu1~16.04.0+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.net-dev",
"binary_version": "1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-net-dev",
"binary_version": "1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-golang-x-net-dev",
"purl": "pkg:deb/ubuntu/golang-golang-x-net-dev@1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:0.0+git20170629.c81e7f2+dfsg-1ubuntu1",
"1:0.0+git20170629.c81e7f2+dfsg-1ubuntu2",
"1:0.0+git20170629.c81e7f2+dfsg-2",
"1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm1",
"1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2",
"1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.net-dev",
"binary_version": "1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-net-dev",
"binary_version": "1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-golang-x-net-dev",
"purl": "pkg:deb/ubuntu/golang-golang-x-net-dev@1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:0.0+git20190811.74dc4d7+dfsg-1",
"1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm1",
"1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2",
"1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2021-31525",
"modified": "2026-06-22T22:02:50Z",
"published": "2021-05-27T13:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-31525"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-31525"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-31525"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…