CVE-2024-10977: postgresql Use of Less Trusted Source
Vulnerability summary
CVE-2024-10977 is a low (CVSS 3.7) Use of Less Trusted Source vulnerability in postgresql. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 24 · Related 27Timeline
- 14-11-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
0.00 pp
From 0.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-348Use of Less Trusted SourceThe product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.
- CWE-345Insufficient Verification of Data AuthenticityThe product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
Affected systems
Chainguard8 products
- postgresql-12< 12.21-r0
- postgresql-13< 13.17-r0
- postgresql-14< 14.14-r0
- postgresql-14-client< 14.24-r2
- postgresql-15< 15.9-r0
Wolfi8 products
- postgresql-12< 12.21-r0
- postgresql-13< 13.17-r0
- postgresql-14< 14.14-r0
- postgresql-14-client< 14.24-r2
- postgresql-15< 15.9-r0
Ubuntu6 products
- postgresql-10All versions (No fix recorded)
- postgresql-12< 12.22-0ubuntu0.20.04.1
- postgresql-14< 14.15-0ubuntu0.22.04.1
- postgresql-16< 16.6-0ubuntu0.24.04.1
- postgresql-9.3All versions (No fix recorded)
Alpine4 products
- postgresql14< 14.14-r0
- postgresql15< 15.9-r0
- postgresql16< 16.5-r0
- postgresql17< 17.1-r0
Debian2 products
- postgresql-15< 15.9-0+deb12u1
- postgresql-17< 17.1-1
Postgresql1 product
- postgresql≥ 12.0, < 12.21 | ≥ 13.0, < 13.17 | ≥ 14.0, < 14.14 | ≥ 15.0, < 15.9 | ≥ 16.0, < 16.5 | 17.0 | 17.0:beta1 | 17.0:beta2 | 17.0:beta3 | 17.0:rc1
6 vendors · 29 products