SQL Injection Vulnerability in PostgreSQL JDBC Driver
CVE-2024-1597
Key Information:
- Vendor
Pgjdbc
- Status
- Pgjdbc
- CVE ID
- CVE ID:
- CVE-2024-1597
- Vendor
- CVE Published:
- 19 February 2024
- Fixed in
- Fixed in:
- 42.7.2, 42.6.1, 42.5.5 +3 more
Timeline
Exploit known 112 days after it was published
- 💰
Used in Ransomware
- 👾
Exploit known to exist
- 📰
First article discovered by malware.news
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Partly: Exploitation or a working exploit reported
- No: Not on CISA's exploited list
- Yes: Used by ransomware
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Update to a fixed version
Install the pgjdbc release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach pgjdbc. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
It is being exploited in the wild, so check logs on exposed pgjdbc systems for unusual requests or new processes from before you patched.
4Why it's rated "Patch now"
- Ransomware groups use it.
- Exploitation or a working exploit has been reported.
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (10).
What is CVE-2024-1597?
The PostgreSQL JDBC Driver has a critical SQL injection vulnerability (CVE-2024-1597) that affects versions 42.7.0, 42.6.0, 42.5.0, 42.4.0, 42.3.0, and older. When the PreferQueryMode parameter is set to SIMPLE, attackers can inject SQL, potentially leading to unauthorized access, data leakage, or arbitrary code execution. PostgreSQL has released new versions of the driver to fix the vulnerability, and affected users are strongly recommended to update to the new versions. There are no known exploits by ransomware groups at this time.
News Articles
Was T-Mobile compromised by a zero-day in Jira? | Malwarebytes
IntelBroker is offering source code from major companies for sale. Are they demonstrating the value of a zero-day they are also selling?
SQL Injection Vulnerability (CVE-2024-1597) in Bamboo Data Center and Server Patched by Atlassian - OP INNOVATE
Atlassian has patched a critical vulnerability in Bamboo Data Center and Server, designated CVE-2024-1597, with a CVSS score of 10.0, indicating severe risk. This SQL injection flaw, linked to the org.postgresql:postgresql dependency, affects versions 8.2.1 through 9.5.0, allowing exploitation witho...

References
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
