PostgreSQL -- libpq retains an error message from man-in-the-middle
· CVE-2024-10977 · VuXML entry
PostgreSQL project reports: 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 …
Affected versions
- postgresql17-client < 17.1
- postgresql16-client < 16.5
- postgresql15-client < 15.9
- postgresql14-client < 14.14
- postgresql13-client < 13.17
- postgresql12-client < 12.21
By system
0 still vulnerable, 9 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| FreeBSD | databases/postgresql17-client | 17.11 | fixed | |
| NetBSD | databases/postgresql17-client | 17.11 | not listed | |
| MidnightBSD | databases/postgresql17-client | in range, by version | ||
| DragonFly | databases/postgresql17-client | 17.5 | fixed | |
| FreeBSD | databases/postgresql16-client | 16.15 | fixed | |
| NetBSD | databases/postgresql16-client | 16.15 | not listed | |
| MidnightBSD | databases/postgresql16-client | in range, by version | ||
| DragonFly | databases/postgresql16-client | 16.9 | fixed | |
| FreeBSD | databases/postgresql15-client | 15.19 | fixed | |
| NetBSD | databases/postgresql15-client | 15.19 | not listed | |
| MidnightBSD | databases/postgresql15-client | in range, by version | ||
| DragonFly | databases/postgresql15-client | 15.13 | fixed | |
| FreeBSD | databases/postgresql14-client | 14.24 | fixed | |
| NetBSD | databases/postgresql14-client | 14.24 | not listed | |
| MidnightBSD | databases/postgresql14-client | in range, by version | ||
| DragonFly | databases/postgresql14-client | 14.18 | fixed | |
| DragonFly | databases/postgresql13-client | 13.21 | fixed |