PostgreSQL relation replacement during pg_dump executes arbitrary SQL
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | PostgreSQL | unaffected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | |||
| postgresql-0:9.2.24-9.el7_9.1 | cpe:/o:redhat:rhel_els:7 | RHSA-2024:8495 | 2024-10-28T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| postgresql:16-8100020240814094432.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:5927 | 2024-08-28T00:00:00Z |
| postgresql:12-8100020240814102525.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:6000 | 2024-08-29T00:00:00Z |
| postgresql:15-8100020240814101911.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:6001 | 2024-08-29T00:00:00Z |
| postgresql:13-8100020240814102212.489197e6 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:6018 | 2024-08-29T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| postgresql:12-8020020240828083606.4cda2c84 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:6138 | 2024-09-03T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| postgresql:12-8040020240827125019.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:6139 | 2024-09-03T00:00:00Z |
| postgresql:13-8040020240830114010.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:6557 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| postgresql:12-8040020240827125019.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:6139 | 2024-09-03T00:00:00Z |
| postgresql:13-8040020240830114010.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:6557 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| postgresql:12-8040020240827125019.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:6139 | 2024-09-03T00:00:00Z |
| postgresql:13-8040020240830114010.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:6557 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| postgresql:13-8060020240903094008.ad008a3a | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:6558 | 2024-09-10T00:00:00Z |
| postgresql:12-8060020240903093929.ad008a3a | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:6559 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| postgresql:13-8060020240903094008.ad008a3a | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:6558 | 2024-09-10T00:00:00Z |
| postgresql:12-8060020240903093929.ad008a3a | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:6559 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| postgresql:13-8060020240903094008.ad008a3a | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:6558 | 2024-09-10T00:00:00Z |
| postgresql:12-8060020240903093929.ad008a3a | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:6559 | 2024-09-10T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| postgresql:12-8080020240828084611.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:6137 | 2024-09-03T00:00:00Z |
| postgresql:13-8080020240830064706.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:6141 | 2024-09-03T00:00:00Z |
| postgresql:15-8080020240826125709.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:6142 | 2024-09-03T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| postgresql:16-9040020240812093225.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:5929 | 2024-08-28T00:00:00Z |
| postgresql-0:13.16-1.el9_4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:5999 | 2024-08-29T00:00:00Z |
| postgresql:15-9040020240812115436.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:6020 | 2024-08-29T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| postgresql-0:13.16-1.el9_0 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2024:6144 | 2024-09-03T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| postgresql:15-9020020240827093843.rhel9 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:6140 | 2024-09-03T00:00:00Z |
| postgresql-0:13.16-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:6145 | 2024-09-03T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-5745-1 | postgresql-15 security update |
Debian DSA |
DSA-5746-1 | postgresql-13 security update |
EUVD |
EUVD-2024-48286 | Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected. |
Ubuntu USN |
USN-6968-1 | PostgreSQL vulnerability |
Ubuntu USN |
USN-6968-2 | PostgreSQL vulnerability |
Ubuntu USN |
USN-6968-3 | PostgreSQL vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.6% (1.565% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
|
|
| CPEs | cpe:/o:redhat:rhel_els:7 | |
| Vendors & Products |
Redhat rhel Els
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:rhel_aus:8.6 cpe:/a:redhat:rhel_e4s:8.6 cpe:/a:redhat:rhel_tus:8.6 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Aus
Redhat rhel E4s Redhat rhel Eus Redhat rhel Tus |
|
| CPEs | cpe:/a:redhat:rhel_aus:8.2 cpe:/a:redhat:rhel_aus:8.4 cpe:/a:redhat:rhel_e4s:8.4 cpe:/a:redhat:rhel_e4s:9.0 cpe:/a:redhat:rhel_eus:8.8 cpe:/a:redhat:rhel_eus:9.2 cpe:/a:redhat:rhel_tus:8.4 |
|
| Vendors & Products |
Redhat rhel Aus
Redhat rhel E4s Redhat rhel Eus Redhat rhel Tus |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:8 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:9 | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Postgresql
Postgresql postgresql |
|
| CPEs | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Postgresql
Postgresql postgresql |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected. | |
| Title | PostgreSQL relation replacement during pg_dump executes arbitrary SQL | |
| Weaknesses | CWE-367 | |
| References |
| |
| Metrics |
cvssV3_1
|