PostgreSQL JDBC versions 42.4.1/42.2.26 Security Update - Mailing list pgsql-announce

From JDBC Project via PostgreSQL Announce
Subject PostgreSQL JDBC versions 42.4.1/42.2.26 Security Update
Date
Msg-id 166056971352.655.12904366583007555449@wrigleys.postgresql.org
Whole thread Raw
List pgsql-announce
 

PostgreSQL JDBC versions 42.4.1/42.2.26 Security Update

The PostgreSQL JDBC team have released 42.2.26 and 42.4.1 to address a security issue: CVE-2022-31197. This is only an issue if you are using ResultSet.refreshRow()

Previously, the column names for both key and data columns in the table were copied as-is into the generated SQL. This allowed a malicious table with column names that include statement terminator to be parsed and executed as multiple separate commands. More information about this security advisory is available here

Thanks to Sho Kato https://github.com/kato-sho for finding and reporting the issue

Regards,

pgjdbc team

 

pgsql-announce by date:

Previous
From: PostgreSQL Global Development Group
Date:
Subject: PostgreSQL 14.5, 13.8, 12.12, 11.17, 10.22, and 15 Beta 3 Released!
Next
From: CloudNativePG via PostgreSQL Announce
Date:
Subject: CloudNativePG 1.16.1 and 1.15.3 Released!