CVE-2022-2880
golang: net/http/httputil: ReverseProxy should not forward unparseable query parameters
Overview
Description
Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.
Source: OX vulnerability database
Severity
7.5 · HIGH
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
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-444
Affected packages · 2
Operating systems · 450 fixes
Oracle Linux 2 releases · 28 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-21.module+el8.10.0+90337+0d7b6e74 |
| 8 | fuse-overlayfs | 1.13-1.module+el8.10.0+90298+77a9814d |
| 8 | crun | 1.14.3-2.module+el8.10.0+90298+77a9814d |
| 8 | go-toolset | 1.19.4-1.module+el8.7.0+20922+47ac84ba |
| 8 | golang +6 | 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba |
| 8 | oci-seccomp-bpf-hook | 1.2.10-1.module+el8.10.0+90298+77a9814d |
29 more rows
Photon OS 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.19.2-1.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
| 5.0 | falco | 0.32.2-6.0601037001.ph5 |
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 8 releases · 104 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| go-toolset-7-golang +8 | eol | — | |
| 7 | buildah +4 | affected | — |
| 7 | golang +2 | eol | — |
| 7 | go-toolset-1-18 +10 | 0:1.18.9-1.el7_9 | RHSA-2023:0445 |
| 8 | toolbox | 0:0.1.0-1.rhaos4.12.el8 | RHSA-2022:7398 |
| 8 | toolbox | 0:0.1.1-3.rhaos4.12.el8 | RHSA-2023:0727 |
213 more rows
SUSE Linux Enterprise 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-18-openssl +2 | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| 15.4 | go1-18 +2 | 1.18.7-150000.1.34.1 | SUSE-SU-2022:3668-1 |
| 15.4 | go1-19 +2 | 1.19.2-150000.1.12.1 | SUSE-SU-2022:3669-1 |
alma 5 releases · 26 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | git-lfs | 3.2.0-2.el8 |
| 8 | weldr-client | 35.9-2.el8 |
| 8 | grafana | 7.5.15-4.el8 |
| 8 | osbuild-composer +3 | 75-1.el8.alma |
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | udica | 0.2.6-4.module_el8.9.0+3627+db8ec155 |
44 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.19.2-r0 |
| 3.23 | go | 1.19.2-r0 |
| 3.24 | go | 1.19.2-r0 |
| edge | go | 1.19.2-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.8-1.amzn2023.0.1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
debian 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | 1.19.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19.2-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-18 +2 | 1.18.7-1.1 | openSUSE-SU-2024:12391-1 |
| Tumbleweed | go1-19 +2 | 1.19.2-1.1 | openSUSE-SU-2024:12392-1 |
rocky 4 releases · 22 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | udica | 0.2.6-4.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | runc | 1:1.1.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | buildah +1 | 1:1.24.6-7.module+el8.9.0+1445+07728297 |
103 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | 1.19.2-1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
ubuntu 5 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 18.04-ESM | golang-1-10 +2 | affected |
| 18.04-ESM | golang-1-13 | 1.13.8-1ubuntu1~18.04.4+esm1 |
| 18.04-ESM | golang-1-16 | 1.16.2-0ubuntu1~18.04.2+esm1 |
| 18.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 20.04 | golang-1-13 | 1.13.8-1ubuntu1.2 |
9 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:2357
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-2880
- bugzilla.redhat.com https://bugzilla.redhat.com/2107371
- bugzilla.redhat.com https://bugzilla.redhat.com/2107374
- bugzilla.redhat.com https://bugzilla.redhat.com/2107383
- bugzilla.redhat.com https://bugzilla.redhat.com/2107386
- bugzilla.redhat.com https://bugzilla.redhat.com/2107388
- bugzilla.redhat.com https://bugzilla.redhat.com/2113814
- bugzilla.redhat.com https://bugzilla.redhat.com/2124669
- bugzilla.redhat.com https://bugzilla.redhat.com/2132868
Show all 37 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2132872
- bugzilla.redhat.com https://bugzilla.redhat.com/2161274
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132867
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132868
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132872
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2139718
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2149313
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2879
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2880
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41715
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-2357.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:0446
- github.com https://github.com/golang/go/commit/9d2c73a9fd69e45876509bb3bdb2af99bf77da1e (go1.18.7)
- github.com https://github.com/golang/go/commit/f6d844510d5f1e3b3098eba255d9b633d45eac3b (go1.19.2)
- github.com https://github.com/golang/go/issues/54663
- go.dev https://go.dev/cl/432976
- go.dev https://go.dev/issue/54663
- groups.google.com https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- groups.google.com https://groups.google.com/g/golang-announce/c/xtuG5faxtaU?pli=1
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-2880.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-3254.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-2880
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-1038
- security.gentoo.org https://security.gentoo.org/glsa/202311-09
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-2880
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.