CVE-2024-8244Time-of-check Time-of-use (TOCTOU) Race Condition in Golang-1.15

Severity
3.7LOWNVD
EPSS
0.0%
top 93.51%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 6

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitability: 2.2 | Impact: 1.4

Affected Packages3 packages

🔴Vulnerability Details

2
GHSA
GHSA-v9vr-w93g-qph7: The filepath2025-08-06
OSV
CVE-2024-8244: The filepath2025-08-06

📋Vendor Advisories

2
Red Hat
golang:path/filepath: Golang Walk/WalkDir symlink race2025-08-06
Debian
CVE-2024-8244: golang-1.15 - The filepath.Walk and filepath.WalkDir functions are documented as not following...2024

💬Community

1
Bugzilla
CVE-2024-8244 golang:path/filepath: Golang Walk/WalkDir symlink race2025-08-06