Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-41720

Fixed in a distro release EPSS 1%CVSS 7.5

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.

Published 2022-12-07 · CVE record · OSV

Products: Go standard library os, Go standard library net/http

Fixed upstream

EcosystemPackageFixed in
Gostdlib1.18.9
Gostdlib1.19.4

Distro releases

ReleasePackageFixed in
Chainguardkatib-earlystopping0.19.0-r31
Chainguardkatib-suggestion-goptuna-compatno fix
Chainguardkatib-suggestion-hyperband0.19.0-r31
Chainguardkatib-suggestion-hyperopt0.19.0-r40
Chainguardkatib-suggestion-hyperopt0.19.0-r31
Chainguardkatib-suggestion-nas-darts0.19.0-r31
Chainguardkatib-suggestion-nas-enas0.19.0-r31
Chainguardkatib-suggestion-optuna-enas0.19.0-r31
Chainguardkatib-suggestion-pbt-enas0.19.0-r31
Chainguardkatib-suggestion-skopt-enas0.19.0-r31
Chainguardkatib-tfevent-metricscollector0.19.0-r31
Debian 12golang-1.191.19.4-1
SUSE Enterprise Storage 7container-suseconnect2.4.0-150000.4.24.1
SUSE Enterprise Storage 7.1container-suseconnect2.4.0-150000.4.24.1
SUSE Enterprise Storage 7.1go1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOSgo1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSSgo1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise Module for Containers 15 SP4container-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Module for Development Tools 15 SP3go1.181.18.9-150000.1.40.1
SUSE Linux Enterprise Module for Development Tools 15 SP3go1.191.19.4-150000.1.18.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.181.18.9-150000.1.40.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise Module for Development Tools 15 SP4go1.191.19.4-150000.1.18.1
SUSE Linux Enterprise Real Time 15 SP3go1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise Server 15 SP1-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server 15 SP2-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server 15 SP3-LTSScontainer-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server 15 SP3-LTSSgo1.18-openssl1.18.10.1-150000.1.9.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1container-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2container-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3container-suseconnect2.4.0-150000.4.24.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3go1.18-openssl1.18.10.1-150000.1.9.1
Wolfikatib-earlystopping0.19.0-r31
Wolfikatib-suggestion-goptuna-compatno fix
Wolfikatib-suggestion-hyperband0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r31
Wolfikatib-suggestion-hyperopt0.19.0-r40
Wolfikatib-suggestion-nas-darts0.19.0-r31
Wolfikatib-suggestion-nas-enas0.19.0-r31
Wolfikatib-suggestion-optuna-enas0.19.0-r31
Wolfikatib-suggestion-pbt-enas0.19.0-r31
Wolfikatib-suggestion-skopt-enas0.19.0-r31
Wolfikatib-tfevent-metricscollector0.19.0-r31
openSUSE Leap 15.3go1.181.18.9-150000.1.40.1
openSUSE Leap 15.3go1.191.19.4-150000.1.18.1
openSUSE Leap 15.4go1.181.18.9-150000.1.40.1
openSUSE Leap 15.4go1.18-openssl1.18.10.1-150000.1.9.1
openSUSE Leap 15.4go1.191.19.4-150000.1.18.1
openSUSE Leap 15.5go1.18-openssl1.18.10.1-150000.1.9.1
openSUSE Tumbleweedgo1.181.18.9-1.1
openSUSE Tumbleweedgo1.191.19.4-1.1