Golang: stdlib: security update to 1.18.9stdlib: security update to 1.19.4

high Tenable Cloud Security Plugin ID 428543

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir
type provide access to a tree of files rooted at a given directory. These functions permit access to
Windows device files under that root. For example, os.DirFS("C:/tmp").Open("COM1") opens the COM1 device.
Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS
for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the
drive and access any path on the system. With fix applied, the behavior of os.DirFS("") has changed.
Previously, an empty root was treated equivalently to "/", so os.DirFS("").Open("tmp") would open the path
"/tmp". This now returns an error. (CVE-2022-41720)

See Also

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

Plugin Details

Severity: High

ID: 428543

Version: Revision 1.2

Type: Local

Family: Golang

Published: 7/21/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-41720

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/7/2022

Vulnerability Publication Date: 12/6/2022

Reference Information

CVE: CVE-2022-41720