CVE-2022-32148

Published on: Not Yet Published

Last Modified on: 08/17/2022 04:15:00 AM UTC

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

Certain versions of Go from Golang contain the following vulnerability:

Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.

  • CVE-2022-32148 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as MEDIUM severity.
  • Affected Vendor/Software: URL Logo Go - net/http version < 1.17.12
  • Affected Vendor/Software: URL Logo Go - net/http version >= 1.18.0
  • Affected Vendor/Software: URL Logo Go - net/http version < 1.18.4

CVSS3 Score: 6.5 - MEDIUM

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED LOW LOW NONE

CVE References

Description Tags Link
No Description Provided go.dev
text/html
URL Logo MISC go.dev/cl/412857
b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a - go - Git at Google go.googlesource.com
text/html
URL Logo MISC go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working · Issue #53423 · golang/go · GitHub go.dev
text/html
URL Logo MISC go.dev/issue/53423
GO-2022-0520 - Go Packages pkg.go.dev
text/html
URL Logo MISC pkg.go.dev/vuln/GO-2022-0520
[security] Go 1.18.4 and Go 1.17.12 are released groups.google.com
text/html
URL Logo MISC groups.google.com/g/golang-announce/c/nqrv9fbR0zE
[SECURITY] Fedora 35 Update: fzf-0.29.0-2.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2022-30c5ed5625

Related QID Numbers

  • 160009 Oracle Enterprise Linux Security Update for go-toolset and golang (ELSA-2022-5799)
  • 160017 Oracle Enterprise Linux Security Update for go-toolset:ol8 (ELSA-2022-5775)
  • 240580 Red Hat Update for go-toolset:rhel8 (RHSA-2022:5775)
  • 240639 Red Hat Update for go-toolset and golang (RHSA-2022:5799)
  • 283049 Fedora Security Update for fzf (FEDORA-2022-30c5ed5625)
  • 354064 Amazon Linux Security Advisory for golist : ALAS2-2022-1847
  • 354067 Amazon Linux Security Advisory for golang : ALAS2-2022-1846
  • 376985 Alibaba Cloud Linux Security Update for go-toolset:rhel8 (ALINUX3-SA-2022:0152)
  • 502459 Alpine Linux Security Update for go
  • 672085 EulerOS Security Update for golang (EulerOS-SA-2022-2317)
  • 672112 EulerOS Security Update for golang (EulerOS-SA-2022-2288)
  • 690898 Free Berkeley Software Distribution (FreeBSD) Security Update for go (a4f2416c-02a0-11ed-b817-10c37b4ac2ea)
  • 710584 Gentoo Linux Go Multiple Vulnerabilities (GLSA 202208-02)
  • 752444 SUSE Enterprise Linux Security Update for go1.17 (SUSE-SU-2022:2671-1)
  • 902721 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10520)
  • 902732 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10538)
  • 903950 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10538-1)
  • 904022 Common Base Linux Mariner (CBL-Mariner) Security Update for golang (10520-1)
  • 940609 AlmaLinux Security Update for go-toolset:rhel8 (ALSA-2022:5775)
  • 940627 AlmaLinux Security Update for go-toolset and golang (ALSA-2022:5799)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationGolangGoAllAllAllAll
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*:

Discovery Credit

Christian Mehlmauer

Social Mentions

Source Title Posted (UTC)
Twitter Icon @eguchi3 セキュリティアップデート: CVE-2022-1705, CVE-2022-32148, CVE-2022-30631, CVE-2022-30633, CVE-2022-28131, CVE-2022-30635, CVE-… twitter.com/i/web/status/1… 2022-07-14 22:08:45
Twitter Icon @CVEreport CVE-2022-32148 : Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be trigge… twitter.com/i/web/status/1… 2022-08-10 20:42:18
Reddit Logo Icon /r/netcve CVE-2022-32148 2022-08-10 21:38:30
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report