GHSA-cvf9-g74c-vv79
Record from GitHub Advisory Database · Published December 7, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kubeflow-katib | Chainguard | 0.19.0-r40, 0.19.0-r31 |
| kubeflow-katib | Wolfi | 0.19.0-r40, 0.19.0-r31 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | go-1.19 | * |
| chainguard | kubeflow-katib | 0, 0 |
| wolfi | go-1.19 | * |
| wolfi | kubeflow-katib | 0, 0 |
Timeline
- Dec 7, 2022 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-cvf9-g74c-vv79
vulnetix vdb fixes GHSA-cvf9-g74c-vv79
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-cvf9-g74c-vv79/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart