{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-10977","id":"CVE-2024-10977","title":"PostgreSQL libpq retains an error message from 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 unambi","descriptionLong":"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.","published":"2024-11-14T13:00:05.715Z","updated":"2026-06-17T06:56:49.087Z","reserved":"2024-11-07T19:27:03.261Z","status":"Modified","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"PostgreSQL"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"}],"rating":"low","products":["PostgreSQL"],"affectedProducts":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"lessThan":"17.1","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.5","status":"affected","version":"16","versionType":"rpm"},{"lessThan":"15.9","status":"affected","version":"15","versionType":"rpm"},{"lessThan":"14.14","status":"affected","version":"14","versionType":"rpm"},{"lessThan":"13.17","status":"affected","version":"13","versionType":"rpm"},{"lessThan":"12.21","status":"affected","version":"0","versionType":"rpm"}],"platforms":[]}],"packages":[],"cwes":["CWE-348","CWE-345"],"aliases":["BIT-postgresql-2024-10977"],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2024-10977/","tags":["Vendor Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00398,"epssPercentile":0.34777,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-10977","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10977","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-10977","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-10977","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["postgresql"],"critical":[],"attention":null}