Amazon Linux AMI update for postgresql96



Published: 2021-07-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-32027
CWE-ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Integer overflow

EUVDB-ID: #VU53231

Risk: Medium

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-32027

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing certain SQL array values during array subscribing calculation. An authenticated database user can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system and can be exploited by a remote unauthenticated attacker via SQL injection vulnerability in the frontend application.

Mitigation

Update the affected packages:

i686:
    postgresql96-9.6.22-1.85.amzn1.i686
    postgresql96-devel-9.6.22-1.85.amzn1.i686
    postgresql96-libs-9.6.22-1.85.amzn1.i686
    postgresql96-debuginfo-9.6.22-1.85.amzn1.i686
    postgresql96-contrib-9.6.22-1.85.amzn1.i686
    postgresql96-plpython26-9.6.22-1.85.amzn1.i686
    postgresql96-plpython27-9.6.22-1.85.amzn1.i686
    postgresql96-docs-9.6.22-1.85.amzn1.i686
    postgresql96-server-9.6.22-1.85.amzn1.i686
    postgresql96-plperl-9.6.22-1.85.amzn1.i686
    postgresql96-test-9.6.22-1.85.amzn1.i686
    postgresql96-static-9.6.22-1.85.amzn1.i686

src:
    postgresql96-9.6.22-1.85.amzn1.src

x86_64:
    postgresql96-plpython27-9.6.22-1.85.amzn1.x86_64
    postgresql96-contrib-9.6.22-1.85.amzn1.x86_64
    postgresql96-9.6.22-1.85.amzn1.x86_64
    postgresql96-debuginfo-9.6.22-1.85.amzn1.x86_64
    postgresql96-libs-9.6.22-1.85.amzn1.x86_64
    postgresql96-static-9.6.22-1.85.amzn1.x86_64
    postgresql96-plpython26-9.6.22-1.85.amzn1.x86_64
    postgresql96-devel-9.6.22-1.85.amzn1.x86_64
    postgresql96-test-9.6.22-1.85.amzn1.x86_64
    postgresql96-plperl-9.6.22-1.85.amzn1.x86_64
    postgresql96-server-9.6.22-1.85.amzn1.x86_64
    postgresql96-docs-9.6.22-1.85.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

http://alas.aws.amazon.com/ALAS-2021-1520.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###