Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949747 (CVE-2025-1094) - <dev-db/postgresql-{13.19:13,14.16:14,15.11:15,16.7:16;17.3:17}: Improper neutralization of quoting syntax
Summary: <dev-db/postgresql-{13.19:13,14.16:14,15.11:15,16.7:16;17.3:17}: Improper neu...
Status: CONFIRMED
Alias: CVE-2025-1094
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://www.postgresql.org/support/se...
Whiteboard: B4 [glsa?]
Keywords:
Depends on: 949748
Blocks:
  Show dependency tree
 
Reported: 2025-02-15 06:43 UTC by Patrick Lauer
Modified: 2025-03-20 20:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2025-02-15 06:43:37 UTC
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.