Security context

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

jenkinsci/config-file-provider-plugin
master @ 73c323e
19
Fixes
0
CVEs
HIGH
Peak severity
58.8%
Coverage
Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
src/main/java/org/jenkinsci/plugins/configfiles/maven/security/CredentialsHelper.java: most-fixed (5 issues). Treat as high-risk during review.
3 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: Permission checks for configuration files were historically evaluated against incorrect parent scopes (like global contexts or parent groups) rather than the nearest AccessControlled project context, allowing unauthorized file manipulation.
XML External Entity (XXE): Parsing Maven settings files without disabling external DTD and entity resolution allowed potential XXE injection vulnerabilities. Standardizing on secure XML utilities is critical.
Auth Bypass: Resolving credentials using incorrect context scopes or failing to apply required domain restrictions enabled access to credentials outside authorized boundaries.