REDHAT-BUG-2345548: SQL Injection

Published Feb 13, 2025
·
Updated

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

1 affected component
PostgreSQL postgresql<17.3, <16.7, <15.11, <14.16, <13.19

Event History

Feb 13, 2025
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2345548?

The severity of REDHAT-BUG-2345548 is high due to the potential for SQL injection vulnerabilities.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203