Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/main/java/io/r2dbc/mssql/LoginFlow.java: most-fixed (1 issue). 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.
Cleartext Transmission of Sensitive Information: The pre-login negotiation flow could fallback to cleartext or unencrypted communication if the server did not support or rejected full encryption. Ensuring the driver fails closed when negotiated encryption properties do not meet client security policies is critical to prevent credential exposure.
Auth Bypass: Creating SSL engines without explicit peer host and port context disabled hostname verification during the TLS handshake, exposing the driver to man-in-the-middle attacks.
Auth Bypass: Improper handling of redirect hosts or wildcard matching inside custom TrustManagers could lead to SSL hostname mismatch validation bypasses or failures during connection redirects.