Golang: stdlib: security update to 1.17.12, 1.18.4

medium Tenable Self-Hosted Container Security Plugin ID 428508

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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)

- 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. (CVE-2022-1705)

- Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an
attacker to cause a panic due to stack exhaustion via deeply nested types or declarations. (CVE-2022-1962)

- Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker
to cause a panic due to stack exhaustion via a deeply nested XML document. (CVE-2022-28131)

- Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a
panic due to stack exhaustion via a path which contains a large number of path separators.
(CVE-2022-30630)

See Also

https://pkg.go.dev/vuln/GO-2022-0515

https://pkg.go.dev/vuln/GO-2022-0520

https://pkg.go.dev/vuln/GO-2022-0521

https://pkg.go.dev/vuln/GO-2022-0522

https://pkg.go.dev/vuln/GO-2022-0523

https://pkg.go.dev/vuln/GO-2022-0524

https://pkg.go.dev/vuln/GO-2022-0525

https://pkg.go.dev/vuln/GO-2022-0526

https://pkg.go.dev/vuln/GO-2022-0527

Plugin Details

Severity: Medium

ID: 428508

Version: Revision 1.5

Type: Local

Family: Golang

Published: 7/21/2025

Updated: 11/26/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.18

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2022-32148

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/20/2022

Vulnerability Publication Date: 7/13/2022

Reference Information

CVE: CVE-2022-1705, CVE-2022-1962, CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632, CVE-2022-30633, CVE-2022-30635, CVE-2022-32148