Description
Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| postgresql-10 | — | 10.23-0ubuntu0.18.04.2+esm3 |
| postgresql-12 | — | 12.22-0ubuntu0.20.04.2 |
| postgresql-14 | — | 14.17-0ubuntu0.22.04.1 |
| postgresql-16 | — | 16.8-0ubuntu0.24.04.1 |
| postgresql-9.3 | — | — |
| postgresql-9.5 | — | — |
References
Similar Threats
- Unknown CLSA-2026-1779880647
- Unknown CLSA-2025-1742471100
- Unknown UBUNTU-CVE-2024-10976
- Unknown UBUNTU-CVE-2024-10977
- Unknown UBUNTU-CVE-2024-10978
Vulnerability Monitoring
Stay informed about vulnerabilities in your stack
BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.