CVE-2021-36221
JSON

5.9medium

Panic in ReverseProxy in net/http/httputil

Severity
5.9medium CVSS:3.1 by NVD
Exploit likelihood
2.73% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GO-2021-0245BIT-GOLANG-2021-36221

Description

Go before 1.15.15 and 1.16.x before 1.16.7 has a race condition that can lead to a net/http/httputil ReverseProxy panic upon an ErrAbortHandler abort.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
stdlib (Go)before 1.15.15, from 1.16.0-0 before 1.16.7Go Vulnerability Database
golang gobefore 1.15.15, from 1.16.0 before 1.16.7NVD
fedoraproject fedora33, 34, 35NVD
debian debian_linux9.0NVD
oracle timesten_in-memory_databasebefore 21.1.1.1.0NVD
siemens scalance_lpe9403_firmwarebefore 2.0NVD
golang (Bitnami)before 1.15.15, from 1.16.0 before 1.16.7Bitnami Vulnerability Database

All scores

NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

Go before 1.15.15 and 1.16.x before 1.16.7 has a race condition that can lead to a net/http/httputil ReverseProxy panic upon an ErrAbortHandler abort.

Go Vulnerability Database

ReverseProxy can panic after encountering a problem copying a proxied response body.

NVD (es)

Go versiones anteriores a 1.15.15 y 1.16.x versiones anteriores a 1.16.7, presenta una condición de carrera que puede conllevar un pánico de net/http/httputil ReverseProxy al abortar ErrAbortHandler

References

https://groups.google.com/forum/#%21forum/golang-announceweb
https://groups.google.com/g/golang-announce/c/JvWG9FUUYT0advisory, mailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4AMYYHGBYMIWCCR5RCDFI5RAUJOPO5L/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MU47VKTNXX33ZDLTI2ORRUY3KLJKU6G/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HM7U5JNS5WU66Q3S26PFIU2ITB2ATTQ4/vendor-advisory, web
https://www.oracle.com/security-alerts/cpujan2022.htmladvisory, third-party-advisory
https://groups.google.com/g/golang-announce/c/uHACNfXAZqkadvisory, mailing-list, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2022/01/msg00016.htmladvisory, mailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00017.htmladvisory, mailing-list, third-party-advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdfpatch, third-party-advisory
https://security.gentoo.org/glsa/202208-02advisory, third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlmailing-list, web

Sources

SourceRecordLicence
CVE ListCVE-2021-36221 changed 2024-08-04CVE Terms of Use
Go Vulnerability DatabaseGO-2021-0245 changed 2024-05-20CC-BY-4.0
NVDCVE-2021-36221 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2021-36221 changed 2026-10-16Apache-2.0