Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2022-32148

Summary
Assigner-Go
Assigner Org ID-1bb62c36-49e3-4200-9d77-64a1400537cc
Published At-09 Aug, 2022 | 20:18
Updated At-03 Aug, 2024 | 07:32
Rejected At-
Credits

Exposure of client IP addresses in net/http

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Go
Assigner Org ID:1bb62c36-49e3-4200-9d77-64a1400537cc
Published At:09 Aug, 2022 | 20:18
Updated At:03 Aug, 2024 | 07:32
Rejected At:
▼CVE Numbering Authority (CNA)
Exposure of client IP addresses in net/http

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.

Affected Products
Vendor
Go standard library
Product
net/http
Collection URL
https://pkg.go.dev
Package Name
net/http
Program Routines
  • Header.Clone
Default Status
unaffected
Versions
Affected
  • From 0 before 1.17.12 (semver)
  • From 1.18.0-0 before 1.18.4 (semver)
Problem Types
TypeCWE IDDescription
N/AN/ACWE-200: Information Exposure
Type: N/A
CWE ID: N/A
Description: CWE-200: Information Exposure
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Christian Mehlmauer
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://go.dev/cl/412857
N/A
https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
N/A
https://go.dev/issue/53423
N/A
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
N/A
https://pkg.go.dev/vuln/GO-2022-0520
N/A
Hyperlink: https://go.dev/cl/412857
Resource: N/A
Hyperlink: https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
Resource: N/A
Hyperlink: https://go.dev/issue/53423
Resource: N/A
Hyperlink: https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2022-0520
Resource: N/A
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://go.dev/cl/412857
x_transferred
https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
x_transferred
https://go.dev/issue/53423
x_transferred
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
x_transferred
https://pkg.go.dev/vuln/GO-2022-0520
x_transferred
Hyperlink: https://go.dev/cl/412857
Resource:
x_transferred
Hyperlink: https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
Resource:
x_transferred
Hyperlink: https://go.dev/issue/53423
Resource:
x_transferred
Hyperlink: https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Resource:
x_transferred
Hyperlink: https://pkg.go.dev/vuln/GO-2022-0520
Resource:
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security@golang.org
Published At:10 Aug, 2022 | 20:15
Updated At:07 Nov, 2023 | 03:47

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Type: Primary
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CPE Matches

Go
golang
>>go>>Versions before 1.17.12(exclusive)
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Go
golang
>>go>>Versions from 1.18.0(inclusive) to 1.18.4(exclusive)
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
NVD-CWE-noinfoPrimarynvd@nist.gov
CWE ID: NVD-CWE-noinfo
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://go.dev/cl/412857security@golang.org
Patch
https://go.dev/issue/53423security@golang.org
Exploit
Issue Tracking
Third Party Advisory
https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8asecurity@golang.org
Mailing List
Patch
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEsecurity@golang.org
Mailing List
Release Notes
https://pkg.go.dev/vuln/GO-2022-0520security@golang.org
Vendor Advisory
Hyperlink: https://go.dev/cl/412857
Source: security@golang.org
Resource:
Patch
Hyperlink: https://go.dev/issue/53423
Source: security@golang.org
Resource:
Exploit
Issue Tracking
Third Party Advisory
Hyperlink: https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
Source: security@golang.org
Resource:
Mailing List
Patch
Hyperlink: https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Source: security@golang.org
Resource:
Mailing List
Release Notes
Hyperlink: https://pkg.go.dev/vuln/GO-2022-0520
Source: security@golang.org
Resource:
Vendor Advisory

Change History

0
Information is not available yet

Similar CVEs

3Records found

CVE-2021-3114
Matching Score-8
Assigner-MITRE Corporation
ShareView Details
Matching Score-8
Assigner-MITRE Corporation
CVSS Score-6.5||MEDIUM
EPSS-0.03% / 9.99%
||
7 Day CHG~0.00%
Published-26 Jan, 2021 | 02:23
Updated-03 Aug, 2024 | 16:45
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available

In Go before 1.14.14 and 1.15.x before 1.15.7, crypto/elliptic/p224.go can generate incorrect outputs, related to an underflow of the lowest limb during the final complete reduction in the P-224 field.

Action-Not Available
Vendor-n/aNetApp, Inc.Fedora ProjectGoDebian GNU/Linux
Product-debian_linuxcloud_insights_telegraf_agentfedoragostoragegridn/a
CWE ID-CWE-682
Incorrect Calculation
CVE-2025-61727
Matching Score-8
Assigner-Go Project
ShareView Details
Matching Score-8
Assigner-Go Project
CVSS Score-6.5||MEDIUM
EPSS-0.01% / 1.42%
||
7 Day CHG~0.00%
Published-03 Dec, 2025 | 19:37
Updated-18 Dec, 2025 | 20:15
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509

An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.

Action-Not Available
Vendor-Go standard libraryGo
Product-gocrypto/x509
CWE ID-CWE-295
Improper Certificate Validation
CVE-2022-1705
Matching Score-8
Assigner-Go Project
ShareView Details
Matching Score-8
Assigner-Go Project
CVSS Score-6.5||MEDIUM
EPSS-0.05% / 16.54%
||
7 Day CHG~0.00%
Published-09 Aug, 2022 | 20:16
Updated-03 Aug, 2024 | 00:10
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
Improper sanitization of Transfer-Encoding headers in net/http

Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.

Action-Not Available
Vendor-Go standard libraryGo
Product-gonet/http
CWE ID-CWE-444
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Details not found