CVE-2024-10977Use of Less Trusted Source in Postgresql

Severity
3.7LOWNVD
CNA3.1OSV5.4
EPSS
0.3%
top 42.89%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 14
Latest updateMar 19

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitability: 2.2 | Impact: 1.4

Affected Packages9 packages

debiandebian/postgresql-13< postgresql-13 13.17-0+deb11u1 (bullseye)
debiandebian/postgresql-15< postgresql-13 13.17-0+deb11u1 (bullseye)
debiandebian/postgresql-17< postgresql-13 13.17-0+deb11u1 (bullseye)
CVEListV5postgresql/postgresql1717.1+5
NVDpostgresql/postgresql12.012.21+5

🔴Vulnerability Details

5
OSV
postgresql-9.5 vulnerabilities2025-03-19
OSV
postgresql-12, postgresql-14, postgresql-16 vulnerabilities2024-12-02
GHSA
GHSA-62q4-hc79-94qj: 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 t2024-11-14
OSV
CVE-2024-10977: 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 t2024-11-14
CVEList
PostgreSQL libpq retains an error message from man-in-the-middle2024-11-14

📋Vendor Advisories

5
Ubuntu
PostgreSQL vulnerabilities2025-03-19
Ubuntu
PostgreSQL vulnerabilities2024-12-02
Red Hat
postgresql: PostgreSQL libpq retains an error message from man-in-the-middle2024-11-14
Microsoft
PostgreSQL libpq retains an error message from man-in-the-middle2024-11-12
Debian
CVE-2024-10977: postgresql-13 - Client use of server error message in PostgreSQL allows a server not trusted und...2024