Description
Turso AgentFS 0.4.0 through 0.6.4 contains a path traversal vulnerability that allows NFS clients to escape the overlay base directory by supplying absolute or '../' filenames in LOOKUP requests. Attackers reaching the unauthenticated NFS listener can read and enumerate host files, including the AgentFS SQLite database, or exhaust memory and disk via large file copies.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Turso AgentFS
Default version status: unaffected
0.4.0 to ≤ 0.6.4affected
pkg:github/tursodatabase/agentfsReferences
- https://github.com/Teycir/agentfs-cve ↗
- https://github.com/tursodatabase/agentfs/blob/v0.6.4/cli/src/nfsserve/nfs_handlers.rs#L256-L300 ↗
- https://github.com/tursodatabase/agentfs/blob/v0.6.4/sdk/rust/src/filesystem/hostfs_linux.rs#L342-L362 ↗
- https://github.com/tursodatabase/agentfs/blob/v0.6.4/sdk/rust/src/filesystem/hostfs_darwin.rs#L334-L348 ↗
- https://github.com/tursodatabase/agentfs/blob/v0.6.4/sdk/rust/src/filesystem/overlayfs.rs#L957-L970 ↗
- https://github.com/tursodatabase/agentfs ↗
- https://www.vulncheck.com/advisories/turso-agentfs-0.4.0-through-0.6.4-path-traversal-via-nfsv3-lookup ↗