REDHAT-BUG-2345548: SQL Injection
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 clientencoding is BIG5 and serverencoding is one of EUCTW or MULEINTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2345548?
The severity of REDHAT-BUG-2345548 is high due to the potential for SQL injection vulnerabilities.
How do I fix REDHAT-BUG-2345548?
To fix REDHAT-BUG-2345548, upgrade to the latest version of PostgreSQL that addresses the quoting syntax vulnerabilities.
Which versions of PostgreSQL are affected by REDHAT-BUG-2345548?
PostgreSQL versions 13.19, 14.16, 15.11, 16.7, and 17.3 are affected by REDHAT-BUG-2345548.
What type of vulnerability is REDHAT-BUG-2345548?
REDHAT-BUG-2345548 represents an SQL injection vulnerability caused by improper neutralization of quoting syntax in PostgreSQL libpq functions.
Can REDHAT-BUG-2345548 be exploited remotely?
Yes, REDHAT-BUG-2345548 can potentially be exploited remotely if the vulnerable PostgreSQL functions are utilized in insecure application patterns.