Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-36221

golang: net/http/httputil: panic due to racy read of persistConn after handler panic

Overview

Published
8 Aug 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
101 OS packages
8 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-362

Affected packages · 2

Packages affected by CVE-2021-36221
EcosystemPackageVulnerableFixed in
Bitnami golang <1.15.15>=1.16.0, <1.16.7 1.15.151.16.7
Go stdlib <1.15.15>=1.16.0-0, <1.16.7 1.15.151.16.7

Open a package to see all its vulnerabilities.

Operating systems · 102 fixes

Oracle Linux 1 release · 19 packages

fixed 19
udica slirp4netns oci-seccomp-bpf-hook crun fuse-overlayfs containernetworking-plugins +13
Oracle Linux fixes for CVE-2021-36221
ReleasePackageFixed in
8 udica 0.2.6-3.module+el8.7.0+20873+328b8baa
8 slirp4netns 1.2.0-2.module+el8.7.0+20873+328b8baa
8 oci-seccomp-bpf-hook 1.2.6-1.module+el8.7.0+20873+328b8baa
8 crun 1.5-1.module+el8.7.0+20873+328b8baa
8 fuse-overlayfs 1.9-1.module+el8.7.0+20873+328b8baa
8 containernetworking-plugins 1:1.1.1-3.module+el8.7.0+20873+328b8baa

13 more rows

Photon OS 1 release · 2 packages

fixed 2
go kubernetes-dashboard
Photon OS fixes for CVE-2021-36221
ReleasePackageFixed in
4.0 go 1.17.2-1.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4

Red Hat 8 releases · 37 packages

eol 2 wont fix 4 fixed 35 affected 2
heketi golang atomic-openshift cri-o openshift-hyperkube openshift-clients +31
Red Hat fixes for CVE-2021-36221
ReleasePackageFixed inAdvisory
heketi +2 eol —
golang +9 wont fix —
7 atomic-openshift +21 eol —
7 cri-o 0:1.22.1-17.rhaos4.9.git3029b1d.el7 RHSA-2022:0557
7 openshift-hyperkube 0:4.9.0-202202111950.p0.gb93fd35.assembly.stream.el7 RHSA-2022:0557
7 openshift-clients +1 0:4.9.0-202202140924.p0.g340e212.assembly.stream.el7 RHSA-2022:0557

37 more rows

alma 1 release · 1 package

fixed 1
delve
alma fixes for CVE-2021-36221
ReleasePackageFixed in
8 (go-toolset:rhel8) delve 1.6.0-1.module_el8.5.0+2604+960c7771

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2021-36221
ReleasePackageFixed in
3.22 go 1.16.7-r0
3.23 go 1.16.7-r0
3.24 go 1.16.7-r0
edge go 1.16.7-r0

debian 3 releases · 4 packages

fixed 4
golang-1-11 golang-1-15 golang-1-7 golang-1-8
debian fixes for CVE-2021-36221
ReleasePackageFixed in
10 golang-1-11 1.11.6-1+deb10u6
11 golang-1-15 1.15.15-1~deb11u1
9 golang-1-7 1.7.4-2+deb9u4
9 golang-1-8 1.8.1-1+deb9u4

openSUSE 1 release · 2 packages

fixed 2
go1-15 go1-16
openSUSE fixes for CVE-2021-36221
ReleasePackageFixed inAdvisory
Tumbleweed go1-15 +2 1.15.15-1.2 openSUSE-SU-2024:10808-1
Tumbleweed go1-16 +2 1.16.8-1.1 openSUSE-SU-2024:10809-1

rocky 2 releases · 15 packages

fixed 27
toolbox udica slirp4netns oci-seccomp-bpf-hook crun fuse-overlayfs +9
rocky fixes for CVE-2021-36221
ReleasePackageFixed in
8 (container-tools:rhel8) toolbox +1 0.0.99.3-0.6.module+el8.6.0+1054+50b00ff4
8 (container-tools:rhel8) toolbox +1 0.0.99.3-0.6.module+el8.7.0+1078+e72fcd4f
8 (container-tools:rhel8) udica 0.2.6-3.module+el8.6.0+971+69b94baf
8 (container-tools:rhel8) udica 0.2.6-3.module+el8.7.0+1077+0e4f03d4
8 (container-tools:rhel8) slirp4netns 1.2.0-2.module+el8.6.0+1054+50b00ff4
8 (container-tools:rhel8) slirp4netns 1.2.0-2.module+el8.7.0+1078+e72fcd4f

21 more rows

References

Show all 80 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.