Important: postgresql-jdbc security update

postgresql-jdbc Updated 02 Oct 2025

Summary

20/03/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:1435: Important: postgresql-jdbc security update. Affects postgresql-jdbc versions < 42.2.14-3.el8_9. Fixed in 42.2.14-3.el8_9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

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.

Vulnerability Detail

The PostgreSQL JDBC Driver allows an attacker to inject SQL if using PreferQueryMode=SIMPLE. This vulnerability, identified as CVE-2024-1597, can have serious consequences as it enables unauthorized access and manipulation of the database. It is important to address this vulnerability promptly to prevent potential data breaches and unauthorized actions.

How To Fix

Minimum fixed version

42.2.14-3.el8_9

This is the first release that contains the fix.

sudo dnf update postgresql-jdbc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to update the package to the fixed version as soon as possible.

Conclusion

In conclusion, it is crucial to update the postgresql-jdbc package to the fixed version 42.2.14-3.el8_9 or later to address the SQL injection vulnerability. Failure to do so may result in unauthorized access and manipulation of the database. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for postgresql-jdbc →

Share this vulnerability

FAQ

PostgreSQL is an advanced object-relational database management system known for its robustness, scalability, and extensibility.

The postgresql-jdbc package provides the necessary .jar files for Java programs to connect and interact with a PostgreSQL database.

SQL injection is a type of vulnerability that allows an attacker to manipulate SQL queries by injecting malicious code. This can lead to unauthorized access, data breaches, and other security issues.

CVE-2024-1597 is the identifier for the specific vulnerability in the PostgreSQL JDBC Driver that allows SQL injection when using PreferQueryMode=SIMPLE.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for postgresql-jdbc.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

42.2.14-3.el8_9

This is the first release that contains the fix.

sudo dnf update postgresql-jdbc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback