ALAS-2023-1660

Related Vulnerabilities: CVE-2021-23214  

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. (CVE-2021-23214)

ALAS-2023-1660


Amazon Linux AMI Security Advisory: ALAS-2023-1660
Advisory Release Date: 2023-01-18 20:56 Pacific
Advisory Updated Date: 2023-01-24 17:23 Pacific
Severity: Medium
References: CVE-2021-23214 

Issue Overview:

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. (CVE-2021-23214)


Affected Packages:

postgresql95


Issue Correction:
Run yum update postgresql95 to update your system.

New Packages:
i686:
    postgresql95-contrib-9.5.24-1.83.amzn1.i686
    postgresql95-plperl-9.5.24-1.83.amzn1.i686
    postgresql95-devel-9.5.24-1.83.amzn1.i686
    postgresql95-server-9.5.24-1.83.amzn1.i686
    postgresql95-plpython26-9.5.24-1.83.amzn1.i686
    postgresql95-9.5.24-1.83.amzn1.i686
    postgresql95-static-9.5.24-1.83.amzn1.i686
    postgresql95-test-9.5.24-1.83.amzn1.i686
    postgresql95-libs-9.5.24-1.83.amzn1.i686
    postgresql95-debuginfo-9.5.24-1.83.amzn1.i686
    postgresql95-plpython27-9.5.24-1.83.amzn1.i686
    postgresql95-docs-9.5.24-1.83.amzn1.i686

src:
    postgresql95-9.5.24-1.83.amzn1.src

x86_64:
    postgresql95-plpython26-9.5.24-1.83.amzn1.x86_64
    postgresql95-plpython27-9.5.24-1.83.amzn1.x86_64
    postgresql95-test-9.5.24-1.83.amzn1.x86_64
    postgresql95-static-9.5.24-1.83.amzn1.x86_64
    postgresql95-9.5.24-1.83.amzn1.x86_64
    postgresql95-devel-9.5.24-1.83.amzn1.x86_64
    postgresql95-contrib-9.5.24-1.83.amzn1.x86_64
    postgresql95-libs-9.5.24-1.83.amzn1.x86_64
    postgresql95-server-9.5.24-1.83.amzn1.x86_64
    postgresql95-debuginfo-9.5.24-1.83.amzn1.x86_64
    postgresql95-docs-9.5.24-1.83.amzn1.x86_64
    postgresql95-plperl-9.5.24-1.83.amzn1.x86_64