CVE-2024-10977

LOWCVSS 3.7/10EPSS 0.38%

Last modified

CVE-2024-10977 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
3.7/10

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

EPSS Probability
0.38%

29.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PostgresqlPostgresql>= 12.0, < 12.21
PostgresqlPostgresql>= 13.0, < 13.17
PostgresqlPostgresql>= 14.0, < 14.14
PostgresqlPostgresql>= 15.0, < 15.9
PostgresqlPostgresql>= 16.0, < 16.5
PostgresqlPostgresql17.0

References

Timeline

Published
Last Modified
Status
Modified

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.
How severe is CVE-2024-10977?
CVE-2024-10977 has a CVSS score of 3.7/10 (LOW severity). The EPSS model estimates a 0.38% probability of exploitation in the next 30 days.
How do I fix CVE-2024-10977?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-10977?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST