Security context

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

jackc/pgconn
master @ 4cba7ba
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Cryptographic Issues: 1 prior fix. Scrutinize any change in this area.
config.go: 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.

SQL Injection: Large query or bind messages exceeding 4 GB can trigger an integer overflow during message size encoding, causing the payload to be split into multiple valid frontend/backend messages and enabling SQL injection.
Cryptographic Issues: Misconfiguration of SSL mode parameters can lead to weak cryptographic validation, where specified root certificates are ignored and InsecureSkipVerify is erroneously set to true under 'require' mode.