Description
Kudu before 1.48.0 contains a time-of-check time-of-use race condition in the File Shredder feature that allows local unprivileged users to overwrite and delete arbitrary files with elevated privileges. Attackers who can write to a shredded directory can swap a file or parent directory for a symbolic link or NTFS junction between the lstat() check and open() in shredFile(), causing the administrator-level process to destroy protected system binaries or security tooling.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AdventDevInc | Kudu | < 1.48.0 | 1.48.0 |
References
- GitHub Security Advisory (GHSA-rwrp-2jqw-f349) vendor-advisory
- https://github.com/AdventDevInc/kudu/commit/04a3c779b23488070b1e50e2f85c7490754de7ff patch
- Kudu v1.48.0 Release Notes release-notes
- https://github.com/AdventDevInc/kudu/blob/589d4889eca4b9b5ead53e78fb0c16d0ecc44dff/src/main/ipc/file-shredder.ipc.ts#L78-L85 technical-description
- VulnCheck Advisory: Kudu before 1.48.0 TOCTOU Symlink Race in File Shredder third-party-advisory