Security context

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

newrelic/nri-kubernetes
main @ 633dc0f
8
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Privilege Escalation: 4 prior fixes. Scrutinize any change in this area.
Deployment: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Privilege Escalation: Overly permissive host environment variable configuration allowed potential unauthorized host filesystem access in unprivileged environments, remedied by explicitly overriding the NRIA_OVERRIDE_HOST_ROOT variable.
Insecure TLS: Insecure TLS configurations previously skipped verification of the Kubelet's serving certificate, creating a potential path for man-in-the-middle attacks until CA-bundle verification and minimum TLS 1.2 versions were introduced.
Credential Management: Storing static bearer token values rather than reloading active token files bypassed Kubernetes token rotation mechanisms, exposing the integration to long-lived credential compromise.