ArchLinux: 202204-1: postgresql: man-in-the-middle
Summary
A security issue has been found in PostgreSQL versions 9.6 up to 14. When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of SSL certificate verification and encryption.
Resolution
Upgrade to 13.5-1.
# pacman -Syu "postgresql>=13.5-1"
The problem has been fixed upstream in version 13.5.
References
https://www.postgresql.org/support/security/CVE-2021-23214/ https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=28e24125541545483093819efae9bca603441951 https://security.archlinux.org/CVE-2021-23214
Workaround
None.