Security context

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

kubernetes-csi/external-snapshotter
master @ 9f98357
12
Fixes
1
CVEs
HIGH
Peak severity
42.9%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
pkg/validation-webhook: most-fixed (2 issues). Treat as high-risk during review.
5 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: Inadequate validation of 'SourceVolumeMode' in the validation webhook allowed unauthorized users to perform volume mode conversions during PVC restoration, bypassing volume access controls. Immutability checks must be strictly enforced.
Denial of Service: The validation webhook was vulnerable to panics and Denial of Service due to nil pointer dereferences when handling snapshot content source volume modes. Webhooks must validate pointer structures comprehensively before accessing deep fields.
Privilege Escalation: Over-privileged ClusterRoles historically granted unnecessarily broad 'create' and 'delete' verbs on persistent volumes and claims, presenting a critical privilege escalation vector if the snapshotter pod were compromised.