In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade RHEL:8 postgresql:10/postgresql-upgrade to version 0:10.19-1.module+el8.6.0+13642+78853f5a or higher.
This issue was patched in RHSA-2022:1830.
Note: Versions mentioned in the description apply only to the upstream postgresql:10/postgresql-upgrade package and not the postgresql:10/postgresql-upgrade package as distributed by RHEL.
See How to fix? for RHEL:8 relevant fixed versions and status.
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.