CVE-2021-36221
golang: net/http/httputil: panic due to racy read of persistConn after handler panic
Overview
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
Operating systems · 102 fixes
Oracle Linux 1 release · 19 packages
fixed 19
udica
slirp4netns
oci-seccomp-bpf-hook
crun
fuse-overlayfs
containernetworking-plugins
+13
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | delve | 1.6.0-1.module_el8.5.0+2604+960c7771 |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-36221
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1820551
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1941727
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1945929
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1974423
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1995656
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1996050
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2005866
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2009264
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2009346
Show all 80 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2024938
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2027662
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2028408
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2030195
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2039045
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2052697
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2053990
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2055313
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2059666
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2062697
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2064702
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2066145
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2068006
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2072452
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2073958
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2078925
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2079759
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2079761
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2081836
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2083570
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2083997
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2085361
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2086398
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2086757
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2090609
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2090920
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2093079
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2094610
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2094875
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2095097
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2096264
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2097865
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2100740
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2102140
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2102361
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2102381
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2113941
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2117699
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2117928
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2118231
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2119072
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2120651
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2121453
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36221
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41190
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1708
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27191
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29162
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2990
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:7457
- go.dev https://go.dev/cl/333191
- go.dev https://go.dev/issue/46866
- go.googlesource.com https://go.googlesource.com/go/+/b7a85e0003cedb1b48a1fd3ae5b746ec6330102e
- groups.google.com https://groups.google.com/forum/#%21forum/golang-announce
- groups.google.com https://groups.google.com/g/golang-announce/c/JvWG9FUUYT0
- groups.google.com https://groups.google.com/g/golang-announce/c/uHACNfXAZqk
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-36221.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-7457.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MU47VKTNXX33ZDLTI2ORRUY3KLJKU6G/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HM7U5JNS5WU66Q3S26PFIU2ITB2ATTQ4/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4AMYYHGBYMIWCCR5RCDFI5RAUJOPO5L/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-36221
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0245
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-36221
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
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.