ALAS2-2023-1949

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)

ALAS2-2023-1949


Amazon Linux 2 Security Advisory: ALAS-2023-1949
Advisory Release Date: 2023-02-17 00:11 Pacific
Advisory Updated Date: 2023-02-22 01:55 Pacific
Severity: Medium

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:

postgresql


Issue Correction:
pkg_manager = 'yum'Run update postgresql to update your system.

New Packages:
aarch64:
    postgresql-9.2.24-8.amzn2.0.1.aarch64
    postgresql-libs-9.2.24-8.amzn2.0.1.aarch64
    postgresql-server-9.2.24-8.amzn2.0.1.aarch64
    postgresql-docs-9.2.24-8.amzn2.0.1.aarch64
    postgresql-contrib-9.2.24-8.amzn2.0.1.aarch64
    postgresql-devel-9.2.24-8.amzn2.0.1.aarch64
    postgresql-static-9.2.24-8.amzn2.0.1.aarch64
    postgresql-upgrade-9.2.24-8.amzn2.0.1.aarch64
    postgresql-plperl-9.2.24-8.amzn2.0.1.aarch64
    postgresql-plpython-9.2.24-8.amzn2.0.1.aarch64
    postgresql-pltcl-9.2.24-8.amzn2.0.1.aarch64
    postgresql-test-9.2.24-8.amzn2.0.1.aarch64
    postgresql-debuginfo-9.2.24-8.amzn2.0.1.aarch64

i686:
    postgresql-9.2.24-8.amzn2.0.1.i686
    postgresql-libs-9.2.24-8.amzn2.0.1.i686
    postgresql-server-9.2.24-8.amzn2.0.1.i686
    postgresql-docs-9.2.24-8.amzn2.0.1.i686
    postgresql-contrib-9.2.24-8.amzn2.0.1.i686
    postgresql-devel-9.2.24-8.amzn2.0.1.i686
    postgresql-static-9.2.24-8.amzn2.0.1.i686
    postgresql-upgrade-9.2.24-8.amzn2.0.1.i686
    postgresql-plperl-9.2.24-8.amzn2.0.1.i686
    postgresql-plpython-9.2.24-8.amzn2.0.1.i686
    postgresql-pltcl-9.2.24-8.amzn2.0.1.i686
    postgresql-test-9.2.24-8.amzn2.0.1.i686
    postgresql-debuginfo-9.2.24-8.amzn2.0.1.i686

src:
    postgresql-9.2.24-8.amzn2.0.1.src

x86_64:
    postgresql-9.2.24-8.amzn2.0.1.x86_64
    postgresql-libs-9.2.24-8.amzn2.0.1.x86_64
    postgresql-server-9.2.24-8.amzn2.0.1.x86_64
    postgresql-docs-9.2.24-8.amzn2.0.1.x86_64
    postgresql-contrib-9.2.24-8.amzn2.0.1.x86_64
    postgresql-devel-9.2.24-8.amzn2.0.1.x86_64
    postgresql-static-9.2.24-8.amzn2.0.1.x86_64
    postgresql-upgrade-9.2.24-8.amzn2.0.1.x86_64
    postgresql-plperl-9.2.24-8.amzn2.0.1.x86_64
    postgresql-plpython-9.2.24-8.amzn2.0.1.x86_64
    postgresql-pltcl-9.2.24-8.amzn2.0.1.x86_64
    postgresql-test-9.2.24-8.amzn2.0.1.x86_64
    postgresql-debuginfo-9.2.24-8.amzn2.0.1.x86_64