SecurityContext

CVE-2024-10977: PostgreSQL - Man-in-the-Middle

  • Cve: CVE-2024-10977
  • Name: PostgreSQL - Man-in-the-Middle
  • 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.
  • Impact: Attackers can send crafted error messages that may be mistaken for valid query results, potentially leading to information disclosure or confusion.
  • Remediation: Update to PostgreSQL 12.21, 13.17, 14.14, 15.9, 16.5, or 17.1 or later versions.
  • Vulnerability type: man_in_the_middle
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs man-in-the-middle position
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.7
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00398
  • Epss percentile: 0.34524
  • Assignee: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
  • Published at: 2024-11-14T13:15:04Z
  • Age in days: 740
  • Modified at: 2026-06-17T06:56:49Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-10977
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-348Use of Less Trusted Source
CWE-345Insufficient Verification of Data Authenticity

References

UrlSourceTags
https://www.postgresql.org/support/security/CVE-2024-10977/nvdVendor Advisory
https://lists.debian.org/debian-lts-announce/2024/11/msg00011.htmlnvd

Products

ProductAffectedPlatform boundSourcesUrl
postgresql:postgresql= 17.0; = 17.0 beta1; = 17.0 beta2; = 17.0 beta3; = 17.0 rc1; >= 16.0, < 16.5; >= 15.0, < 15.9; >= 14.0, < 14.14; >= 13.0, < 13.17; >= 12.0, < 12.21nonvd/v1/products/postgresql/postgresql

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 217768
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports