pgx
pgx copied to clipboard
Missing CVE: CancelRequest TLS leak — commit encrypts CancelRequest when primary connection uses TLS
Retrospective CVE Request
The CancelRequest mechanism in pgconn previously sent cancellation requests over unencrypted connections even when the primary connection used TLS:
- Before: CancelRequest connections were not encrypted regardless of primary connection TLS
- Impact: Information leak — an observer can see which queries are being cancelled, revealing query patterns
- CWE: CWE-20 / CWE-319 (cleartext transmission)
Found via bounty-hunter gitdiff analysis of silent security fixes.
CC: @jackc
Duplicate of #2578