ALAS2POSTGRESQL14-2024-007
Active ImportantALAS2POSTGRESQL14-2024-007 (important): libpq
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/ALAS2POSTGRESQL14-2024-007.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 libpq or yum update --advisory ALAS2POSTGRESQL14-2024-007 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 3 occurrences-
1libpq
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- libpq-14.11-1.amzn2.0.1.aarch64
- libpq-devel-14.11-1.amzn2.0.1.aarch64
- libpq-debuginfo-14.11-1.amzn2.0.1.aarch64
-
2libpq
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- libpq-14.11-1.amzn2.0.1.src
-
3libpq
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- libpq-14.11-1.amzn2.0.1.x86_64
- libpq-devel-14.11-1.amzn2.0.1.x86_64
- libpq-debuginfo-14.11-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/ALAS2POSTGRESQL14-2024-007.html | Unknown | d4426aa377914eb651aa62cc90df941fde00d6ce08ac4c79f4ace81fd602ca39 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL14-2024-007.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL14-2024-007.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |