CVE-2024-10977
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
14/11/2024
Last modified:
03/11/2025
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
Base Score 3.x
3.10
Severity 3.x
LOW
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 12.0 (including) | 12.21 (excluding) |
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 13.0 (including) | 13.17 (excluding) |
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 14.0 (including) | 14.14 (excluding) |
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 15.0 (including) | 15.9 (excluding) |
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 16.0 (including) | 16.5 (excluding) |
| cpe:2.3:a:postgresql:postgresql:17.0:-:*:*:*:*:*:* | ||
| cpe:2.3:a:postgresql:postgresql:17.0:beta1:*:*:*:*:*:* | ||
| cpe:2.3:a:postgresql:postgresql:17.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:postgresql:postgresql:17.0:beta3:*:*:*:*:*:* | ||
| cpe:2.3:a:postgresql:postgresql:17.0:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



