Skip to content
OpenAdvisories
High RLSA-2024:1436 1 CVE

Important: postgresql-jdbc security update

Published May 10, 2024 · Updated Oct 9, 2025

Summary

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.

Fixed packages 1

ReleasePackageFixed in
Rocky Linux · 9 postgresql-jdbc 0:42.2.28-1.el9_3

Vulnerabilities 1

  • Critical 10.0

    pgjdbc SQL Injection via line comment generation

    pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There mu…

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2266523