CVE-2024-10977

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

State
Published
Severity
3.1 Low
Published
Nov 14, 2024
Updated
Nov 3, 2025
Reserved
Nov 7, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 17 to before 17.1Affected
  • 16 to before 16.5Affected
  • 15 to before 15.9Affected
  • 14 to before 14.14Affected
  • 13 to before 13.17Affected
  • before 12.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.