Amazon Linux AMI update for postgresql15



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-0985
CWE-ID CWE-269
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

postgresql15
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Privilege Management

EUVDB-ID: #VU86275

Risk: Medium

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

CVE-ID: CVE-2024-0985

CWE-ID: CWE-269 - Improper Privilege Management

Exploit availability: No

Description

The vulnerability allows a remote user to escalate privileges within the database.

The vulnerability exists due to late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY. A remote user who is an object creator can execute arbitrary SQL functions as the command issuer.

Mitigation

Update the affected packages:

aarch64:
    postgresql15-plperl-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-plpython3-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-pltcl-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-static-15.6-1.amzn2023.0.1.aarch64
    postgresql15-upgrade-devel-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-llvmjit-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-upgrade-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-private-libs-15.6-1.amzn2023.0.1.aarch64
    postgresql15-private-libs-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-test-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-upgrade-15.6-1.amzn2023.0.1.aarch64
    postgresql15-contrib-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-15.6-1.amzn2023.0.1.aarch64
    postgresql15-contrib-15.6-1.amzn2023.0.1.aarch64
    postgresql15-plperl-15.6-1.amzn2023.0.1.aarch64
    postgresql15-private-devel-15.6-1.amzn2023.0.1.aarch64
    postgresql15-llvmjit-15.6-1.amzn2023.0.1.aarch64
    postgresql15-plpython3-15.6-1.amzn2023.0.1.aarch64
    postgresql15-pltcl-15.6-1.amzn2023.0.1.aarch64
    postgresql15-docs-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-server-devel-15.6-1.amzn2023.0.1.aarch64
    postgresql15-upgrade-devel-15.6-1.amzn2023.0.1.aarch64
    postgresql15-server-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-docs-15.6-1.amzn2023.0.1.aarch64
    postgresql15-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-test-15.6-1.amzn2023.0.1.aarch64
    postgresql15-server-devel-debuginfo-15.6-1.amzn2023.0.1.aarch64
    postgresql15-server-15.6-1.amzn2023.0.1.aarch64
    postgresql15-debugsource-15.6-1.amzn2023.0.1.aarch64

noarch:
    postgresql15-test-rpm-macros-15.6-1.amzn2023.0.1.noarch

src:
    postgresql15-15.6-1.amzn2023.0.1.src

x86_64:
    postgresql15-pltcl-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-test-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-plpython3-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-server-devel-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-private-libs-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-upgrade-devel-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-llvmjit-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-docs-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-server-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-server-devel-15.6-1.amzn2023.0.1.x86_64
    postgresql15-plperl-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-plpython3-15.6-1.amzn2023.0.1.x86_64
    postgresql15-docs-15.6-1.amzn2023.0.1.x86_64
    postgresql15-upgrade-15.6-1.amzn2023.0.1.x86_64
    postgresql15-15.6-1.amzn2023.0.1.x86_64
    postgresql15-test-15.6-1.amzn2023.0.1.x86_64
    postgresql15-private-devel-15.6-1.amzn2023.0.1.x86_64
    postgresql15-static-15.6-1.amzn2023.0.1.x86_64
    postgresql15-private-libs-15.6-1.amzn2023.0.1.x86_64
    postgresql15-pltcl-15.6-1.amzn2023.0.1.x86_64
    postgresql15-contrib-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-plperl-15.6-1.amzn2023.0.1.x86_64
    postgresql15-contrib-15.6-1.amzn2023.0.1.x86_64
    postgresql15-llvmjit-15.6-1.amzn2023.0.1.x86_64
    postgresql15-upgrade-devel-15.6-1.amzn2023.0.1.x86_64
    postgresql15-server-15.6-1.amzn2023.0.1.x86_64
    postgresql15-upgrade-debuginfo-15.6-1.amzn2023.0.1.x86_64
    postgresql15-debugsource-15.6-1.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

postgresql15: before 15.6-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2024-547.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###