Advisory

RLSA-2024:1436

Also known as: CVE-2024-1597

Summary

Important: postgresql-jdbc security update

Details

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 JDBC Driver allows attacker to inject SQL if using PreferQueryMode=SIMPLE (CVE-2024-1597)

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-05-10 14:32 UTC
Modified
2025-10-09 06:18 UTC

Affected packages and fixes

postgresql-jdbc

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:42.2.28-1.el9_3 (ecosystem)

Fixed versions

0:42.2.28-1.el9_3

Fix

  • Fixed version 0:42.2.28-1.el9_3
    sudo dnf upgrade postgresql-jdbc-0:42.2.28-1.el9_3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences