CVE-2024-8244Walk/WalkDir in path/filepath susceptible to symlink race
The filepath.Walk and filepath.WalkDir functions are documented as not following symbolic links, but both functions are susceptible to a TOCTOU (time of check/time of use) race condition where a portion of the path being walked is replaced with a symbolic link while the walk is in progress.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 26.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 25.10 | golang-1.23 | Will not fix As of 2025-09-25, no fix for this issue. | UBUNTU-CVE-2024-8244 | |
| Ubuntu 25.10 | golang-1.24 | Will not fix As of 2025-09-25, no fix for this issue. | UBUNTU-CVE-2024-8244 | |
| Ubuntu 24.04 | golang-1.21 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 24.04 | golang-1.22 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 24.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 24.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.17 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.18 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.20 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.21 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.22 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.23 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 22.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.14 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.20 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.21 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 20.04 | golang-1.22 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 18.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 18.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 18.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 18.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 16.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 16.04 | golang-1.13 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 16.04 | golang-1.18 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Ubuntu 14.04 | golang-1.10 | Fix pending | UBUNTU-CVE-2024-8244 | |
| Debian 13 | golang-1.24 | Fix pending | DEBIAN-CVE-2024-8244 | |
| Debian 12 | golang-1.19 | Fix pending | DEBIAN-CVE-2024-8244 | |
| Red Hat Enterprise Linux 10 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | butane | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | conmon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | delve | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-filesystem | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-rpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-rpm-templates | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | go-srpm-macros | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-github-openprinting-ipp-usb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gvisor-tap-vsock-gvforwarder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-edge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-grub | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ignition-validate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | image-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ipp-usb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | oci-seccomp-bpf-hook | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | opentelemetry-collector | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rhc-worker-playbook | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yggdrasil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yggdrasil-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | yggdrasil-worker-package-manager | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | butane | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | conmon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | containernetworking-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | go-filesystem | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | go-rpm-macros | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | go-rpm-templates | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | go-srpm-macros | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gvisor-tap-vsock-gvforwarder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-edge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-grub | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ignition-validate | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | image-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | oci-seccomp-bpf-hook | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-dnf-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rhc-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | runc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | weldr-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | conmon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | containers-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | git-lfs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-dnf-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-worker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rhc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | runc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | skopeo | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | skopeo-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | toolbox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | toolbox-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | weldr-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | skopeo | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Go standard library path/filepath
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.