CVE-2024-10977CWE-348

PostgreSQL libpq retains an error message from man-in-the-middle

Low · published November 14, 2024

CVSS v3.1
3.1
EPSS
0%
Percentile
30.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.1 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00375 · 30.3th percentile
Weakness
CWE-348 · Use of Less Trusted Source
Published
2024-11-14T13:00Z
EPSS history
Timeline
  • 14 NOV 13:00Z
    PostgreSQL libpq retains an error message from man-in-the-middle
    cvelistv5