Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
cmd/nvidia-cdi-hook/disable-device-node-modification: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: Container mount operations during CDI hook execution can escape the container root filesystem if path canonicalization is missing or bypassed, allowing host-level directory access.
Command Injection: Invoking external utilities like 'chmod' via system execution introduces shell injection vectors; directly using Go's standard library APIs prevents this vulnerability class entirely.
Path Traversal: Modifying permissions on container spec files can result in host-level modifications if path validation fails to pin file operations (like chmod) inside a secure root directory.