PostgreSQL up to 12.17/13.13/14.10/15.5 privilege dropping
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in PostgreSQL up to 12.17/13.13/14.10/15.5. The affected element is an unknown function. Executing a manipulation can lead to privilege dropping. The identification of this vulnerability is CVE-2024-0985. The attack may be launched remotely. There is no exploit available. Upgrading the affected component is advised.
Details
A vulnerability was found in PostgreSQL up to 12.17/13.13/14.10/15.5 (Database Software). It has been declared as critical. This vulnerability affects an unknown function. The manipulation with an unknown input leads to a privilege dropping vulnerability. The CWE definition for the vulnerability is CWE-271. The product does not drop privileges before passing control of a resource to an actor that does not have those privileges. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was shared 02/08/2024. The advisory is shared for download at postgresql.org. This vulnerability was named CVE-2024-0985 since 01/27/2024. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1068.
The vulnerability scanner Nessus provides a plugin with the ID 216614 (Oracle Linux 9 : postgresql:15 (ELSA-2025-1741)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 12.18, 13.14, 14.11, 15.6 or 16.2 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (216614). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 12.5
- 12.6
- 12.7
- 12.8
- 12.9
- 12.10
- 12.11
- 12.12
- 12.13
- 12.14
- 12.15
- 12.16
- 12.17
- 13.0
- 13.1
- 13.2
- 13.3
- 13.4
- 13.5
- 13.6
- 13.7
- 13.8
- 13.9
- 13.10
- 13.11
- 13.12
- 13.13
- 14.0
- 14.1
- 14.2
- 14.3
- 14.4
- 14.5
- 14.6
- 14.7
- 14.8
- 14.9
- 14.10
- 15.0
- 15.1
- 15.2
- 15.3
- 15.4
- 15.5
License
Website
- Product: https://www.postgresql.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.0VulDB Meta Temp Score: 7.9
VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.0
NVD Vector: 🔍
CNA Base Score: 8.0
CNA Vector (PostgreSQL): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Privilege droppingCWE: CWE-271 / CWE-270 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 216614
Nessus Name: Oracle Linux 9 : postgresql:15 (ELSA-2025-1741)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PostgreSQL 12.18/13.14/14.11/15.6/16.2
Timeline
01/27/2024 🔍02/08/2024 🔍
02/08/2024 🔍
04/20/2025 🔍
Sources
Product: postgresql.orgAdvisory: postgresql.org
Status: Confirmed
CVE: CVE-2024-0985 (🔍)
GCVE (CVE): GCVE-0-2024-0985
GCVE (VulDB): GCVE-100-253204
Entry
Created: 02/08/2024 14:58Updated: 04/20/2025 02:11
Changes: 02/08/2024 14:58 (47), 03/02/2024 10:24 (1), 06/20/2024 03:00 (25), 02/22/2025 03:54 (2), 04/20/2025 02:11 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.