Red Hat 9062 Published by

A postgresql-jdbc security update has been released for Red Hat Enterprise Linux 9.



RHSA-2023:0318-01: Moderate: postgresql-jdbc security update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: postgresql-jdbc security update
Advisory ID: RHSA-2023:0318-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2023:0318
Issue date: 2023-01-23
CVE Names: CVE-2022-31197
=====================================================================

1. Summary:

An update for postgresql-jdbc is now available for Red Hat Enterprise Linux
9.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 9) - noarch

3. Description:

PostgreSQL is an advanced object-relational database management system. The
postgresql-jdbc package includes the .jar files needed for Java programs to
access a PostgreSQL database.

Security Fix(es):

* postgresql: SQL Injection in ResultSet.refreshRow() with malicious column
names (CVE-2022-31197)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

If the postgresql service is running, it will be automatically restarted
after installing this update.

5. Bugs fixed (  https://bugzilla.redhat.com/):

2129428 - CVE-2022-31197 postgresql: SQL Injection in ResultSet.refreshRow() with malicious column names

6. Package List:

Red Hat Enterprise Linux AppStream (v. 9):

Source:
postgresql-jdbc-42.2.18-6.el9_1.src.rpm

noarch:
postgresql-jdbc-42.2.18-6.el9_1.noarch.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2022-31197
  https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2023 Red Hat, Inc.