CVSS 3.1
3.7 lowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NLow (3.7) in postgresql postgresql. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExplain CVE-2024-10977 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10977?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10977?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-10977 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 |
| 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-10977 DSA-5812-1 |
| Debian | 13 | postgresql-17 | 17.1-1 | DEBIAN-CVE-2024-10977 |
| Ubuntu | 20.04:LTS | postgresql-12 | 12.22-0ubuntu0.20.04.1 | UBUNTU-CVE-2024-10977 USN-7132-1 |
| Ubuntu | 22.04:LTS | postgresql-14 | 14.15-0ubuntu0.22.04.1 | UBUNTU-CVE-2024-10977 USN-7132-1 |
| Ubuntu | 24.04:LTS | postgresql-16 | 16.6-0ubuntu0.24.04.1 | UBUNTU-CVE-2024-10977 USN-7132-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2024-10977 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | 9.5.25-0ubuntu0.16.04.1+esm10 | UBUNTU-CVE-2024-10977 USN-7358-1 |
| Ubuntu | Pro:18.04:LTS | postgresql-10 | no fix listed | UBUNTU-CVE-2024-10977 |
| 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. | ||||
| Alpine | v3.17, v3.18, v3.19 | postgresql13 | 13.17-r0 | ALPINE-CVE-2024-10977 |
| Alpine | v3.17, v3.18, v3.19 and 1 more | postgresql14 | 14.14-r0 | ALPINE-CVE-2024-10977 |
| Alpine | v3.17, v3.18, v3.19 and 3 more | postgresql15 | 15.9-r0 | ALPINE-CVE-2024-10977 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | postgresql16 | 16.5-r0 | ALPINE-CVE-2024-10977 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql17 | 17.1-r0 | ALPINE-CVE-2024-10977 |
| Azure Linux | 2 | postgresql | 14.14-1 | AZL-53195 |
| Azure Linux | 3 | postgresql | 16.5-1 | AZL-53206 |
| Alpaquita | 23 | postgresql15 | 15.9-r0 | BELL-CVE-2024-10977 |
| Alpaquita | stream | postgresql17 | 17.1-r0 | BELL-CVE-2024-10977 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; 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 · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Low.
This vulnerability affects PostgreSQL clients that handle error messages from untrusted servers, which may cause error messages to be misinterpreted as valid query results.
Make sure PostgreSQL is configured to use trusted SSL or GSS settings to prevent untrusted servers from sending error messages.
Additionally, when interpreting output from the psql command line interface, make sure to distinguish between error messages and valid data.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 8 | postgresql:12/postgresql | Fix deferred | |
| Red Hat Enterprise Linux 8 | postgresql:13/postgresql | Fix deferred | |
| Red Hat Enterprise Linux 8 | postgresql:15/postgresql | Fix deferred | |
| Red Hat Enterprise Linux 8 | postgresql:16/postgresql | Fix deferred | |
| Red Hat Enterprise Linux 9 | postgresql | Fix deferred | |
| Red Hat Enterprise Linux 9 | postgresql:15/postgresql | Fix deferred | |
| Red Hat Enterprise Linux 9 | postgresql:16/postgresql | Fix deferred |
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-10977.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).