ALAS-2023-1659

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-1659


Amazon Linux AMI Security Advisory: ALAS-2023-1659
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:

postgresql94


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

New Packages:
i686:
    postgresql94-plperl-9.4.26-1.78.amzn1.i686
    postgresql94-9.4.26-1.78.amzn1.i686
    postgresql94-docs-9.4.26-1.78.amzn1.i686
    postgresql94-devel-9.4.26-1.78.amzn1.i686
    postgresql94-plpython26-9.4.26-1.78.amzn1.i686
    postgresql94-plpython27-9.4.26-1.78.amzn1.i686
    postgresql94-test-9.4.26-1.78.amzn1.i686
    postgresql94-contrib-9.4.26-1.78.amzn1.i686
    postgresql94-server-9.4.26-1.78.amzn1.i686
    postgresql94-libs-9.4.26-1.78.amzn1.i686
    postgresql94-debuginfo-9.4.26-1.78.amzn1.i686

src:
    postgresql94-9.4.26-1.78.amzn1.src

x86_64:
    postgresql94-plperl-9.4.26-1.78.amzn1.x86_64
    postgresql94-libs-9.4.26-1.78.amzn1.x86_64
    postgresql94-9.4.26-1.78.amzn1.x86_64
    postgresql94-debuginfo-9.4.26-1.78.amzn1.x86_64
    postgresql94-plpython26-9.4.26-1.78.amzn1.x86_64
    postgresql94-contrib-9.4.26-1.78.amzn1.x86_64
    postgresql94-devel-9.4.26-1.78.amzn1.x86_64
    postgresql94-plpython27-9.4.26-1.78.amzn1.x86_64
    postgresql94-server-9.4.26-1.78.amzn1.x86_64
    postgresql94-test-9.4.26-1.78.amzn1.x86_64
    postgresql94-docs-9.4.26-1.78.amzn1.x86_64