
CVE catalog
CVE-2022-41720
golang-1.19: CVE-2022-41720
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.28% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-1.19 | bookworm | 1.19.8-2 | fixed |
| Suse | container-suseconnect | linux enterprise module for containers 15 sp4 | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise high performance computing 15 sp1-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise high performance computing 15 sp2-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise high performance computing 15 sp3-espos | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise high performance computing 15 sp3-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server 15 sp1-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server 15 sp2-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server 15 sp3-ltss | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server for sap applications 15 sp1 | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server for sap applications 15 sp2 | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | linux enterprise server for sap applications 15 sp3 | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | enterprise storage 7 | 2.4.0-150000.4.24.1 | fixed |
| Suse | container-suseconnect | enterprise storage 7.1 | 2.4.0-150000.4.24.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-1.19 | source | bookworm | 1.19.4-1 | unimportant | Not reported | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise module for containers 15 sp4 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise high performance computing 15 sp1-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise high performance computing 15 sp2-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise high performance computing 15 sp3-espos | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise high performance computing 15 sp3-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server 15 sp1-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server 15 sp2-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server 15 sp3-ltss | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server for sap applications 15 sp1 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server for sap applications 15 sp2 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | linux enterprise server for sap applications 15 sp3 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | enterprise storage 7 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
| Suse | container-suseconnect | rpm | enterprise storage 7.1 | 2.4.0-150000.4.24.1 | Not reported | SUSE-SU-2023:0871-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-1.19]Fixed
Details (2)
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
- [golang-1.19-doc]Fixed
Source package: [golang-1.19]
Details (2)
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
- [golang-1.19-go]Fixed
Source package: [golang-1.19]
Details (2)
1.19.8-2· amd64 · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
1.19.8-2· arm64 · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
- [golang-1.19-src]Fixed
Source package: [golang-1.19]
Details (2)
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormFixed · Fixed:
1.19.4-1dsa · golang-1.19 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_4397-1.json]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0871-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-41720]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-41720.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1350.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]