CVSS 3.1
4.2 mediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NMedium (4.2). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExplain CVE-2024-10978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10978?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10978?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-10978 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql | from 12.0 before 12.21 |
| postgresql:postgresql | from 13.0 before 13.17 |
| postgresql:postgresql | from 14.0 before 14.14 |
| postgresql:postgresql | from 15.0 before 15.9 |
| postgresql:postgresql | from 16.0 before 16.5 |
| postgresql:postgresql | 17.0 |
| postgresql:postgresql | 17.0:beta1 |
| postgresql:postgresql | 17.0:beta2 |
| postgresql:postgresql | 17.0:beta3 |
| postgresql:postgresql | 17.0:rc1 |
| debian:debian_linux | 11.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | postgresql-13 | 13.17-0+deb11u1 | DLA-3954-1 |
| Debian | 12 | postgresql-15 | 15.9-0+deb12u1 | DEBIAN-CVE-2024-10978 DSA-5812-1 |
| Debian | 13 | postgresql-17 | 17.1-1 | DEBIAN-CVE-2024-10978 |
| Ubuntu | 20.04:LTS | postgresql-12 | 12.22-0ubuntu0.20.04.1 | UBUNTU-CVE-2024-10978 USN-7132-1 |
| Ubuntu | 22.04:LTS | postgresql-14 | 14.15-0ubuntu0.22.04.1 | UBUNTU-CVE-2024-10978 USN-7132-1 |
| Ubuntu | 24.04:LTS | postgresql-16 | 16.6-0ubuntu0.24.04.1 | UBUNTU-CVE-2024-10978 USN-7132-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2024-10978 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | 9.5.25-0ubuntu0.16.04.1+esm10 | UBUNTU-CVE-2024-10978 USN-7358-1 |
| Ubuntu | Pro:18.04:LTS | postgresql-10 | no fix listed | UBUNTU-CVE-2024-10978 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf | RHSA-2024:10785 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+20664+9c30cf7f | RHSA-2024:10832 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.8-1.module+el8.9.0+19797+c4ce5969 | RHSA-2024:10830 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.5.1-1.module+el8.10.0+22551+c0330dc9 | RHSA-2024:10831 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-7.module+el8.10.0+22214+9beb89d6 | RHSA-2024:10785 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.5.0-1.module+el8.9.0+20664+9c30cf7f | RHSA-2024:10832 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.7.0-1.module+el8.9.0+19797+c4ce5969 | RHSA-2024:10830 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:16.0-1.module+el8.10.0+20413+d8116364 | RHSA-2024:10831 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+19330+c97ddbdf | RHSA-2024:10785 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+20664+9c30cf7f | RHSA-2024:10832 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969 | RHSA-2024:10830 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:2.4.0-1.Final.module+el8.10.0+20413+d8116364 | RHSA-2024:10831 |
| 15 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 12 more | postgresql14 | 14.15-150200.5.50.1 | SUSE-SU-2024:4176-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 more | postgresql13 | 13.18-150200.5.64.1 | SUSE-SU-2024:4175-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | postgresql12 | 12.22-150200.8.66.1 | SUSE-SU-2024:4099-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 more | postgresql16 | 16.6-150200.5.21.1 | SUSE-SU-2024:4173-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 10 more | postgresql17 | 17.2-150200.5.5.1 | SUSE-SU-2024:4173-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | postgresql15 | 15.10-150200.5.33.1 | SUSE-SU-2024:4174-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | postgresql | 17-150300.10.27.1 | SUSE-SU-2024:4173-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2 | postgresql | 17-150200.4.30.1 | SUSE-SU-2024:4173-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 more | postgresql | 17-150400.4.18.1 | SUSE-SU-2024:4173-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Legacy 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 1 more | postgresql | 17-150500.10.9.1 | SUSE-SU-2024:4173-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Server Applications 15 SP6 | postgresql | 17-150600.17.6.1 | SUSE-SU-2024:4063-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Server Applications 15 SP6 | postgresql16 | 16.6-150600.16.10.1 | SUSE-SU-2024:4063-1 |
| 10 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.5 | postgresql | 17-150500.10.9.1 | SUSE-SU-2024:4173-1 |
| openSUSE | Leap 15.5 | postgresql14 | 14.15-150200.5.50.1 | SUSE-SU-2024:4176-1 |
| openSUSE | Leap 15.5 | postgresql15 | 15.10-150200.5.33.1 | SUSE-SU-2024:4174-1 |
| openSUSE | Leap 15.5 | postgresql16 | 16.6-150200.5.21.1 | SUSE-SU-2024:4173-1 |
| openSUSE | Leap 15.5 | postgresql17 | 17.2-150200.5.5.1 | SUSE-SU-2024:4173-1 |
| openSUSE | Leap 15.5, Leap 15.6 | postgresql12 | 12.22-150200.8.66.1 | SUSE-SU-2024:4099-1 |
| openSUSE | Leap 15.5, Leap 15.6 | postgresql13 | 13.18-150200.5.64.1 | SUSE-SU-2024:4175-1 |
| openSUSE | Leap 15.6 | postgresql | 17-150600.17.6.1 | SUSE-SU-2024:4063-1 |
| openSUSE | Leap 15.6 | postgresql14 | 14.15-150600.16.9.1 | SUSE-SU-2024:4118-1 |
| openSUSE | Leap 15.6 | postgresql15 | 15.10-150600.16.9.1 | SUSE-SU-2024:4098-1 |
| openSUSE | Leap 15.6 | postgresql16 | 16.6-150600.16.10.1 | SUSE-SU-2024:4063-1 |
| openSUSE | Leap 15.6 | postgresql17 | 17.2-150600.13.5.1 | SUSE-SU-2024:4063-1 |
| 6 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2024:10785 ALSA-2024:10832 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2024:10785 ALSA-2024:10832 |
| AlmaLinux | 8 | pg_repack | 1.4.8-1.module_el8.10.0+3798+606ebb9f | ALSA-2024:10830 |
| AlmaLinux | 8 | pg_repack | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2024:10830 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2024:10831 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | ALSA-2024:10785 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | ALSA-2024:10785 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2024:10832 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+3095+ee60d910 | ALSA-2024:10832 |
| AlmaLinux | 8 | pgaudit | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2024:10830 |
| AlmaLinux | 8 | pgaudit | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2024:10831 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2024:10785 ALSA-2024:10832 |
| 20 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.10.0+1862+29bef648 | RLSA-2024:10785 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1622+bd25b19c | RLSA-2024:10830 |
| Rocky Linux | 8 | pg_repack | 0:1.5.1-1.module+el8.10.0+1900+d7340343 | RLSA-2024:10831 |
| Rocky Linux | 8 | pgaudit | 0:1.4.0-7.module+el8.9.0+1735+a332307b | RLSA-2024:10785 |
| Rocky Linux | 8 | pgaudit | 0:1.7.0-1.module+el8.9.0+1525+fc91df60 | RLSA-2024:10830 |
| Rocky Linux | 8 | pgaudit | 0:16.0-1.module+el8.10.0+1622+bd25b19c | RLSA-2024:10831 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.10.0+1862+29bef648 | RLSA-2024:10785 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:1.9.7-1.Final.module+el8.9.0+1525+fc91df60 | RLSA-2024:10830 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:2.4.0-1.Final.module+el8.10.0+1622+bd25b19c | RLSA-2024:10831 |
| Rocky Linux | 8 | postgresql | 0:12.22-1.module+el8.10.0+1897+c7883fde | RLSA-2024:10785 |
| Rocky Linux | 8 | postgresql | 0:15.10-1.module+el8.10.0+1899+05bbdd2c | RLSA-2024:10830 |
| Rocky Linux | 8 | postgresql | 0:16.6-1.module+el8.10.0+1900+d7340343 | RLSA-2024:10831 |
| 7 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.17, v3.18, v3.19 | postgresql13 | 13.17-r0 | ALPINE-CVE-2024-10978 |
| Alpine | v3.17, v3.18, v3.19 and 1 more | postgresql14 | 14.14-r0 | ALPINE-CVE-2024-10978 |
| Alpine | v3.17, v3.18, v3.19 and 3 more | postgresql15 | 15.9-r0 | ALPINE-CVE-2024-10978 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | postgresql16 | 16.5-r0 | ALPINE-CVE-2024-10978 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql17 | 17.1-r0 | ALPINE-CVE-2024-10978 |
| Azure Linux | 2 | postgresql | 14.14-1 | AZL-53204 |
| Azure Linux | 3 | postgresql | 16.5-1 | AZL-53209 |
| Alpaquita | 23 | postgresql15 | 15.9-r0 | BELL-CVE-2024-10978 |
| Alpaquita | stream | postgresql17 | 17.1-r0 | BELL-CVE-2024-10978 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
Impact: Moderate. In Red Hat Enterprise Linux, PostgreSQL is affected by a flaw in which a less-privileged application user can view or modify unintended rows when an application uses SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature and attacker-influenced parameters or query results cause a query to depend on current_setting('role') or the current user ID. The CVSS 3.1 score is 4.2 (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N), reflecting network reachability, low privileges, and high attack complexity, with limited confidentiality and integrity impact and no availability impact. The current affects mark PostgreSQL as affected in the Red Hat Enterprise Linux update streams represented for RHEL 8, RHEL 9, and RHEL for Business 10; community-project packages are delegated to upstream. For Red Hat In-Vehicle OS, remediation is deferred with the tracker resolved as "Won't Do"; the record gives no more specific deferral rationale, and residual risk remains that a qualifying less-privileged application user could access or change unintended rows. For the delegated affected products, a fix is being pursued.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | postgresql:12-8100020241122084405.489197e6 | Fixed 2024-12-04 | RHSA-2024:10785 |
| Red Hat Enterprise Linux 8 | postgresql:15-8100020241122084744.489197e6 | Fixed 2024-12-05 | RHSA-2024:10830 |
| Red Hat Enterprise Linux 8 | postgresql:16-8100020241122085009.489197e6 | Fixed 2024-12-05 | RHSA-2024:10831 |
| Red Hat Enterprise Linux 8 | postgresql:13-8100020241122084628.489197e6 | Fixed 2024-12-05 | RHSA-2024:10832 |
| Red Hat Enterprise Linux 9 | postgresql:15-9050020241122141928.rhel9 | Fixed 2024-12-04 | RHSA-2024:10787 |
| Red Hat Enterprise Linux 9 | postgresql:16-9050020241122142517.rhel9 | Fixed 2024-12-04 | RHSA-2024:10788 |
| Red Hat Enterprise Linux 9 | postgresql-0:13.18-1.el9_5 | Fixed 2024-12-04 | RHSA-2024:10791 |
| Red Hat Enterprise Linux 7 | postgresql | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-10978.