Skip to content
OpenAdvisories
High ALAS2023-2024-547 1 CVE

Important: postgresql15 security update (Amazon Linux 2023)

Published Feb 29, 2024 · Updated Mar 5, 2024

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-0985: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. As part of exploiting this vulnerability, the attacker creates functions that use CREATE RULE to convert the internally-built temporary table to a view. Versions before PostgreSQL 15.6, 14.11, 13.14, and 12.18 are affected. The only known exploit does not work in PostgreSQL 16 and later. For defense in depth, PostgreSQL 16.2 adds the protections that older branches are using to fix their vulnerability.

Fixed packages 30

ReleasePackageFixed in
Amazon Linux · 2023 postgresql15 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-contrib 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-contrib-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-debugsource 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-docs 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-docs-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-llvmjit 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-llvmjit-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-plperl 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-plperl-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-plpython3 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-plpython3-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-pltcl 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-pltcl-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-private-devel 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-private-libs 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-private-libs-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-server 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-server-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-server-devel 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-server-devel-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-static 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-test 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-test-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-test-rpm-macros 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-upgrade 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-upgrade-debuginfo 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-upgrade-devel 0:15.6-1.amzn2023.0.1
Amazon Linux · 2023 postgresql15-upgrade-devel-debuginfo 0:15.6-1.amzn2023.0.1

Vulnerabilities 1

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-0985.html