For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the serve...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10psqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements. A column name that contains format directives makes the driver read unrelated memory, which can crash the application or copy client memory into query text sent to the server. The name can come from a server not trusted under current SSL settings, or from any database user who can create a table that the application reads with an updatable cursor. Versions before psqlODBC 18.00.0006 are affected.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com