CVE-2021-36221: Race Condition

Published Aug 8, 2021
·
Updated

A race condition that can lead to a net/http/httputil ReverseProxy panic upon an ErrAbortHandler abort.

Reference:

https://github.com/golang/go/issues/46866

Other sources

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.

— MITRE

Golang Go is vulnerable to a denial of service, caused by a race condition upon an ErrAbortHandler abort. By sending a specially-crafted request, a remote attacker could exploit this vulnerability to cause a net/http/httputil ReverseProxy panic.

— IBM

Affected Software

33 affected componentsFixes available
IBM Cloud Pak for Security<=1.10.0.0 - 1.10.11.0
IBM QRadar Suite Software<=1.10.12.0 - 1.10.16.0
Golang Go<1.15.15
Golang Go>=1.16.0<1.16.7
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Oracle TimesTen In-Memory Database<21.1.1.1.0
Siemens Scalance Lpe9403 Firmware<2.0
Siemens SCALANCE LPE9403
redhat/go<1.16.7
1.16.7
redhat/go<1.15.15
1.15.15
All of the following
Siemens Scalance Lpe9403 Firmware<2.0
Siemens SCALANCE LPE9403
alpine/go<1.15.15-r0
1.15.15-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
alpine/go>=1.16.0<1.16.7-r0
1.16.7-r0
debian/golang-1.15<1.15.15-1~deb11u1
1.15.15-1~deb11u1
debian/golang-1.11
1.11.6-1+deb10u6
debian/golang-1.15
1.15.15-1~deb11u11.15.15-1
debian/golang-1.16
1.16.7-1
debian/golang-1.7
1.7.4-2+deb9u4
debian/golang-1.8
1.8.1-1+deb9u4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.16.7
  2. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.15.15
  3. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.15.15-r0
  4. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.16.7-r0
  5. Upgrade

    Upgrade debian/golang-1.15 to a version that resolves this vulnerability.

    Fixed in 1.15.15-1~deb11u1
  6. Upgrade

    Upgrade debian/golang-1.11 to a version that resolves this vulnerability.

    Fixed in 1.11.6-1+deb10u6
  7. Upgrade

    Upgrade debian/golang-1.15 to a version that resolves this vulnerability.

    Fixed in 1.15.15-1~deb11u1Fixed in 1.15.15-1
  8. Upgrade

    Upgrade debian/golang-1.16 to a version that resolves this vulnerability.

    Fixed in 1.16.7-1
  9. Upgrade

    Upgrade debian/golang-1.7 to a version that resolves this vulnerability.

    Fixed in 1.7.4-2+deb9u4
  10. Upgrade

    Upgrade debian/golang-1.8 to a version that resolves this vulnerability.

    Fixed in 1.8.1-1+deb9u4

Event History

Aug 8, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software
Apr 7, 2022
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Apr 20, 2023
Event
12:15 AM
Sep 1, 2023
Data Sourced
via Red Hat·01:21 AM
DescriptionSeverityAffected Software
Nov 20, 2023
Updated
12:00 AM
Affected Software
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:28 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2021-36221?

CVE-2021-36221 is a vulnerability in Golang Go that can lead to a denial of service by exploiting a race condition in net/http/httputil ReverseProxy.

2

How does CVE-2021-36221 impact Golang Go?

CVE-2021-36221 can be exploited by a remote attacker to cause a panic in net/http/httputil ReverseProxy, resulting in a denial of service.

3

What is the severity of CVE-2021-36221?

The severity of CVE-2021-36221 is rated as high with a CVSS score of 7.5.

4

Which versions of Golang Go are affected by CVE-2021-36221?

Golang Go versions 1.15.15 and 1.16.0 to 1.16.7 are affected by CVE-2021-36221.

5

How can I fix CVE-2021-36221 in Golang Go?

To fix CVE-2021-36221, update Golang Go to version 1.15.15 or 1.16.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203