ALAS2POSTGRESQL12-2024-008
Active ImportantALAS2POSTGRESQL12-2024-008 (important): postgresql
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2024-0985 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL12-2024-008.html |
Description
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
Read full publisher description 910 characters
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. (CVE-2024-0985)
Solution
Run yum update postgresql or yum update --advisory ALAS2POSTGRESQL12-2024-008 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1postgresql
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- postgresql-12.18-1.amzn2.0.1.aarch64
- postgresql-server-12.18-1.amzn2.0.1.aarch64
- postgresql-docs-12.18-1.amzn2.0.1.aarch64
- postgresql-contrib-12.18-1.amzn2.0.1.aarch64
- postgresql-server-devel-12.18-1.amzn2.0.1.aarch64
- postgresql-static-12.18-1.amzn2.0.1.aarch64
- postgresql-upgrade-12.18-1.amzn2.0.1.aarch64
- postgresql-upgrade-devel-12.18-1.amzn2.0.1.aarch64
- postgresql-plperl-12.18-1.amzn2.0.1.aarch64
- postgresql-plpython2-12.18-1.amzn2.0.1.aarch64
- postgresql-plpython3-12.18-1.amzn2.0.1.aarch64
- postgresql-pltcl-12.18-1.amzn2.0.1.aarch64
- postgresql-test-12.18-1.amzn2.0.1.aarch64
- postgresql-llvmjit-12.18-1.amzn2.0.1.aarch64
- postgresql-debuginfo-12.18-1.amzn2.0.1.aarch64
-
2postgresql
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- postgresql-12.18-1.amzn2.0.1.i686
- postgresql-server-12.18-1.amzn2.0.1.i686
- postgresql-docs-12.18-1.amzn2.0.1.i686
- postgresql-contrib-12.18-1.amzn2.0.1.i686
- postgresql-server-devel-12.18-1.amzn2.0.1.i686
- postgresql-static-12.18-1.amzn2.0.1.i686
- postgresql-upgrade-12.18-1.amzn2.0.1.i686
- postgresql-upgrade-devel-12.18-1.amzn2.0.1.i686
- postgresql-plperl-12.18-1.amzn2.0.1.i686
- postgresql-plpython2-12.18-1.amzn2.0.1.i686
- postgresql-plpython3-12.18-1.amzn2.0.1.i686
- postgresql-pltcl-12.18-1.amzn2.0.1.i686
- postgresql-test-12.18-1.amzn2.0.1.i686
- postgresql-llvmjit-12.18-1.amzn2.0.1.i686
- postgresql-debuginfo-12.18-1.amzn2.0.1.i686
-
3postgresql
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- postgresql-test-rpm-macros-12.18-1.amzn2.0.1.noarch
-
4postgresql
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- postgresql-12.18-1.amzn2.0.1.src
-
5postgresql
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- postgresql-12.18-1.amzn2.0.1.x86_64
- postgresql-server-12.18-1.amzn2.0.1.x86_64
- postgresql-docs-12.18-1.amzn2.0.1.x86_64
- postgresql-contrib-12.18-1.amzn2.0.1.x86_64
- postgresql-server-devel-12.18-1.amzn2.0.1.x86_64
- postgresql-static-12.18-1.amzn2.0.1.x86_64
- postgresql-upgrade-12.18-1.amzn2.0.1.x86_64
- postgresql-upgrade-devel-12.18-1.amzn2.0.1.x86_64
- postgresql-plperl-12.18-1.amzn2.0.1.x86_64
- postgresql-plpython2-12.18-1.amzn2.0.1.x86_64
- postgresql-plpython3-12.18-1.amzn2.0.1.x86_64
- postgresql-pltcl-12.18-1.amzn2.0.1.x86_64
- postgresql-test-12.18-1.amzn2.0.1.x86_64
- postgresql-llvmjit-12.18-1.amzn2.0.1.x86_64
- postgresql-debuginfo-12.18-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2024-0985 https://access.redhat.com/security/cve/CVE-2024-0985
- CVE-2024-0985 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-0985
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL12-2024-008.html | Unknown | 0c9d6e0efe394a81966b2b66a0261cd67ef662a6a79b0d19f9eb1f7d18241c74 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL12-2024-008.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL12-2024-008.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |