Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-A61EF21B-A29E-11EF-AF48-6CC21735F730 (CVE-2024-10977): PostgreSQL -- libpq retains an error message from man-in-the-middle

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-A61EF21B-A29E-11EF-AF48-6CC21735F730 (CVE-2024-10977): PostgreSQL -- libpq retains an error message from man-in-the-middle

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
11/14/2024
Created
11/16/2024
Added
11/15/2024
Modified
11/15/2024

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.

Solution(s)

  • freebsd-upgrade-package-postgresql12-client
  • freebsd-upgrade-package-postgresql13-client
  • freebsd-upgrade-package-postgresql14-client
  • freebsd-upgrade-package-postgresql15-client
  • freebsd-upgrade-package-postgresql16-client
  • freebsd-upgrade-package-postgresql17-client

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;