CVE & CISA-KEV Catalog

CVE-2024-10977

LOW
3.1
CVSS v3
NVD

Description

Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

How to fix

Remediation Available
postgresql-13Debian
Fixed in:13.17-0+deb11u1CVE-2024-10977
postgresql-12Ubuntu
Fixed in:12.22-0ubuntu0.20.04.1USN-7132-1
postgresql-14Ubuntu
Fixed in:14.15-0ubuntu0.22.04.1USN-7132-1
postgresql-16Ubuntu
Fixed in:16.6-0ubuntu0.24.04.1USN-7132-1
postgresql-9.5Ubuntu
Fixed in:9.5.25-0ubuntu0.16.04.1+esm10USN-7358-1
postgresql-client-12Ubuntu
Fixed in:12.22-0ubuntu0.20.04.1USN-7132-1
postgresql-client-14Ubuntu
Fixed in:14.15-0ubuntu0.22.04.1USN-7132-1
postgresql-client-16Ubuntu
Fixed in:16.6-0ubuntu0.24.04.1USN-7132-1
postgresql-client-9.5Ubuntu
Fixed in:9.5.25-0ubuntu0.16.04.1+esm10USN-7358-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploit Intelligence

0.38%probability of exploitation in 30 days
30thpercentile

Low risk: more likely to be exploited than 30% of all known CVEs.

References

Vendor Advisory1
Other references1
Embed a live status badge for CVE-2024-10977
CVE-2024-10977 severity badge

Markdown

[![CVE-2024-10977](https://tridentstack.com/cve/badge/CVE-2024-10977.svg)](https://tridentstack.com/cve/CVE-2024-10977)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-10977"><img src="https://tridentstack.com/cve/badge/CVE-2024-10977.svg" alt="CVE-2024-10977"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.