Security context

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

vibur/vibur-dbcp
master @ 90b320d
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/main/java/org/vibur/dbcp/ViburDBCPDataSource.java: most-fixed (2 issues). 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.

Auth Bypass: Calling getConnection(username, password) with distinct credentials incorrectly fell back to returning a pooled connection authenticated with default credentials. Developers must ensure separate credentials always yield fully isolated connection instances rather than returning recycled pool connections.
Auth Bypass: The getNonPooledConnection method historically ignored dynamic user credentials passed via the API, delegating instead to the default credentials on the connection factory. This allowed users to bypass authentication checks by receiving sessions tied to the default system user.