CVE-2024-10977

LOW
Published Nov 14, 2024 Modified Nov 3, 2025 CWE-348 CWE-345

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.

CVSS v3.1 Score

3.1
LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Weakness Type (CWE)

CWE-348 CWE-348
CWE-345 CWE-345

Affected Products

Vendor Product
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql

References

Frequently Asked Questions

What is CVE-2024-10977? +
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. It has a CVSS v3.1 base score of 3.1 (LOW).
How severe is CVE-2024-10977? +
CVE-2024-10977 has a CVSS v3.1 score of 3.1 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2024-10977? +
CVE-2024-10977 affects products from postgresql, specifically: postgresql. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-10977? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-10977 — free, no signup required.

Start Free Scan