Amazon Linux AMI update for postgresql92



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23214
CWE-ID CWE-311
Exploitation vector Local network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

postgresql92
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Missing Encryption of Sensitive Data

EUVDB-ID: #VU58113

Risk: Medium

CVSSv4.0: 4.9 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-23214

CWE-ID: CWE-311 - Missing Encryption of Sensitive Data

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way PostgreSQL handles encrypted connections. 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.

Mitigation

Update the affected packages:

i686:
    postgresql92-test-9.2.24-3.68.amzn1.i686
    postgresql92-plpython26-9.2.24-3.68.amzn1.i686
    postgresql92-libs-9.2.24-3.68.amzn1.i686
    postgresql92-plperl-9.2.24-3.68.amzn1.i686
    postgresql92-server-9.2.24-3.68.amzn1.i686
    postgresql92-contrib-9.2.24-3.68.amzn1.i686
    postgresql92-9.2.24-3.68.amzn1.i686
    postgresql92-plpython27-9.2.24-3.68.amzn1.i686
    postgresql92-docs-9.2.24-3.68.amzn1.i686
    postgresql92-server-compat-9.2.24-3.68.amzn1.i686
    postgresql92-debuginfo-9.2.24-3.68.amzn1.i686
    postgresql92-pltcl-9.2.24-3.68.amzn1.i686
    postgresql92-devel-9.2.24-3.68.amzn1.i686

src:
    postgresql92-9.2.24-3.68.amzn1.src

x86_64:
    postgresql92-contrib-9.2.24-3.68.amzn1.x86_64
    postgresql92-plpython26-9.2.24-3.68.amzn1.x86_64
    postgresql92-test-9.2.24-3.68.amzn1.x86_64
    postgresql92-devel-9.2.24-3.68.amzn1.x86_64
    postgresql92-plperl-9.2.24-3.68.amzn1.x86_64
    postgresql92-pltcl-9.2.24-3.68.amzn1.x86_64
    postgresql92-9.2.24-3.68.amzn1.x86_64
    postgresql92-debuginfo-9.2.24-3.68.amzn1.x86_64
    postgresql92-docs-9.2.24-3.68.amzn1.x86_64
    postgresql92-libs-9.2.24-3.68.amzn1.x86_64
    postgresql92-server-9.2.24-3.68.amzn1.x86_64
    postgresql92-server-compat-9.2.24-3.68.amzn1.x86_64
    postgresql92-plpython27-9.2.24-3.68.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

postgresql92: before 9.2.24-3.68

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2023-1657.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###