Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

microsoft/hcsshim
main @ ef47025
10
Fixes
0
CVEs
HIGH
Peak severity
20.0%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
internal/guest/runtime/hcsv2/uvm.go: most-fixed (5 issues). Treat as high-risk during review.
10 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.

Auth Bypass: Critical execution paths, such as process termination signaling, can bypass mandatory policy enforcement points if check placement is not strictly sequenced before execution returns. Metadata rollback must also occur on failure to prevent information disclosure.
Path Traversal: Inadequate regex validation and prefix enforcement on virtual pod and container IDs allow directory traversal when constructing host-side utility VM scratch directories.
Code Execution: Failing to block custom hooks from untrusted host-provided OCI specifications allows arbitrary command execution in confidential guests.