CVE-2021-33197
golang: net/http/httputil: ReverseProxy forwards connection headers if first one is empty
Overview
Description
In Go before 1.15.13 and 1.16.x before 1.16.5, some configurations of ReverseProxy (from net/http/httputil) result in a situation where an attacker is able to drop arbitrary headers.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-862
Affected packages · 2
Operating systems · 55 fixes
Azure Linux 1 release · 1 package
fixed 1
python-tensorboard
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | python-tensorboard | 0:2.16.2-2.azl3 |
Oracle Linux 2 releases · 3 packages
fixed 3
grafana
buildah
podman
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.9-4.el8 |
| 9 | buildah +1 | 1:1.27.0-2.0.1.el9 |
| 9 | podman +6 | 2:4.2.0-3.0.1.el9 |
Red Hat 5 releases · 22 packages
eol 2
wont fix 2
fixed 30
affected 1
heketi
golang
buildah
atomic-openshift
containernetworking-plugins
go-toolset-1-15-golang
+16
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +2 | eol | — | |
| golang +9 | wont fix | — | |
| 7 | buildah +8 | eol | — |
| 7 | atomic-openshift +12 | wont fix | — |
| 7 | containernetworking-plugins | 0:0.8.6-3.rhaos4.6.el7 | RHSA-2021:3248 |
| 7 | go-toolset-1-15-golang +6 | 0:1.15.14-2.el7_9 | RHSA-2021:3431 |
29 more rows
alma 3 releases · 4 packages
fixed 4
grafana
delve
buildah
podman
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.9-4.el8 |
| 8 (go-toolset:rhel8) | delve | 1.6.0-1.module_el8.5.0+2604+960c7771 |
| 9 | buildah +1 | 1:1.27.0-2.el9 |
| 9 | podman +5 | 2:4.2.0-3.el9 |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.16.5-r0 |
| 3.23 | go | 1.16.5-r0 |
| 3.24 | go | 1.16.5-r0 |
| edge | go | 1.16.5-r0 |
debian 3 releases · 3 packages
affected 2
fixed 1
golang-1-11
golang-1-15
golang-1-7
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | 1.15.9-5 |
| 9 | golang-1-7 +1 | affected |
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 · 3 packages
fixed 3
grafana
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.9-4.el8 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.16.7-1.module+el8.5.0+694+f77f0bfd |
| 8 (go-toolset:rhel8) | delve | 1.6.0-1.module+el8.5.0+694+f77f0bfd |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:4226
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:8008
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-33197
- bugzilla.redhat.com https://bugzilla.redhat.com/1939485
- bugzilla.redhat.com https://bugzilla.redhat.com/1989564
- bugzilla.redhat.com https://bugzilla.redhat.com/1989570
- bugzilla.redhat.com https://bugzilla.redhat.com/1989575
- bugzilla.redhat.com https://bugzilla.redhat.com/2064702
- bugzilla.redhat.com https://bugzilla.redhat.com/2121445
- bugzilla.redhat.com https://bugzilla.redhat.com/2121453
Show all 35 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1918750
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1921191
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1941024
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1983596
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1989564
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1989570
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27358
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3114
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33195
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33197
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34558
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-8008.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:4226
- go.dev https://go.dev/cl/321929
- go.dev https://go.dev/issue/46313
- go.googlesource.com https://go.googlesource.com/go/+/950fa11c4cb01a145bb07eeb167d90a1846061b3
- groups.google.com https://groups.google.com/g/golang-announce
- groups.google.com https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-33197.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-8008.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-33197
- pkg.go.dev https://pkg.go.dev/vuln/GO-2021-0241
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-33197
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.