Upstream information

CVE-2024-1597 at MITRE

Description

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 must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having critical severity.

CVSS v3 Scores
  SUSE
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1220644 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/manager/5.0/x86_64/server-attestation:5.0.0-beta2.2.16
Container suse/manager/5.0/x86_64/server:5.0.0-beta2.3.64
Image SLES15-SP4-Manager-Server-4-3
Image SLES15-SP4-Manager-Server-4-3-Azure-llc
Image SLES15-SP4-Manager-Server-4-3-Azure-ltd
Image SLES15-SP4-Manager-Server-4-3-BYOS
Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure
Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2
Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE
Image SLES15-SP4-Manager-Server-4-3-EC2-llc
Image SLES15-SP4-Manager-Server-4-3-EC2-ltd
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
SUSE Enterprise Storage 7.1
  • postgresql-jdbc >= 42.2.25-150300.3.14.1
Patchnames:
SUSE-Storage-7.1-2024-769
SUSE Liberty Linux 8
  • postgresql-jdbc >= 42.2.14-3.el8_9
  • postgresql-jdbc-javadoc >= 42.2.14-3.el8_9
Patchnames:
RHSA-2024:1435
SUSE Liberty Linux 9
  • postgresql-jdbc >= 42.2.28-1.el9_3
Patchnames:
RHSA-2024:1436
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS
  • postgresql-jdbc >= 42.2.25-150300.3.14.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-LTSS-2024-769
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-773
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-773
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Server Applications 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP5-2024-773
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Server Applications 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP6 GA postgresql-jdbc-42.2.25-150400.3.12.1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • postgresql-jdbc >= 9.4-3.12.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2024-771
SUSE Linux Enterprise Server 15 SP3-LTSS
  • postgresql-jdbc >= 42.2.25-150300.3.14.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP3-LTSS-2024-769
SUSE Linux Enterprise Server 15 SP4-LTSS
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-773
SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • postgresql-jdbc >= 42.2.25-150300.3.14.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP3-2024-769
SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP4-2024-773
SUSE Manager Proxy 4.3
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.3-2024-773
SUSE Manager Retail Branch Server 4.3
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.3-2024-773
SUSE Manager Server 4.3
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.3-2024-773
openSUSE Leap 15.5
  • postgresql-jdbc >= 42.2.25-150400.3.12.1
  • postgresql-jdbc-javadoc >= 42.2.25-150400.3.12.1
Patchnames:
openSUSE-SLE-15.5-2024-773
openSUSE Tumbleweed
  • postgresql-jdbc >= 42.7.2-1.1
  • postgresql-jdbc-javadoc >= 42.7.2-1.1
Patchnames:
openSUSE-Tumbleweed-2024-13734


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 postgresql-jdbc Released
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql-jdbc Released
SUSE Linux Enterprise High Performance Computing 15 SP5 postgresql-jdbc Released
SUSE Linux Enterprise High Performance Computing 15 SP6 postgresql-jdbc Released
SUSE Linux Enterprise Module for Server Applications 15 SP5 postgresql-jdbc Released
SUSE Linux Enterprise Module for Server Applications 15 SP6 postgresql-jdbc Released
SUSE Linux Enterprise Server 12 SP5 postgresql-jdbc Released
SUSE Linux Enterprise Server 15 SP5 postgresql-jdbc Released
SUSE Linux Enterprise Server 15 SP6 postgresql-jdbc Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql-jdbc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 postgresql-jdbc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 postgresql-jdbc Released
SUSE Manager Proxy 4.3 postgresql-jdbc Released
SUSE Manager Retail Branch Server 4.3 postgresql-jdbc Released
SUSE Manager Server 4.3 postgresql-jdbc Released
openSUSE Leap 15.5 postgresql-jdbc Released
openSUSE Leap 15.6 postgresql-jdbc Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS postgresql-jdbc Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS postgresql-jdbc Released
SUSE Linux Enterprise High Performance Computing 15 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS postgresql-jdbc Released
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS postgresql-jdbc Released
SUSE Linux Enterprise Module for Server Applications 15 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Module for Server Applications 15 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise Server 15 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Server 15 SP3-LTSS postgresql-jdbc Released
SUSE Linux Enterprise Server 15 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise Server 15 SP4-LTSS postgresql-jdbc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 postgresql-jdbc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 postgresql-jdbc Released
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 postgresql-jdbc Affected
SUSE Linux Enterprise Point of Sale 11 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT postgresql-jdbc Affected
SUSE Linux Enterprise Real Time 15 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Real Time 15 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP1-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP2 postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP2-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP3-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP4 LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 11 SP4-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP1 postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP1-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP2 postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP2-BCL postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP2-ESPOS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP2-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP3-BCL postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP3-ESPOS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP3-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP4 postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP4-ESPOS postgresql-jdbc Affected
SUSE Linux Enterprise Server 12 SP4-LTSS postgresql-jdbc Affected
SUSE Linux Enterprise Server 15 SP3-BCL postgresql-jdbc Affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 postgresql-jdbc Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP1 postgresql-jdbc Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql-jdbc Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql-jdbc Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql-jdbc Affected
SUSE Manager Proxy 4.2 postgresql-jdbc Affected
SUSE Manager Retail Branch Server 4.2 postgresql-jdbc Affected
SUSE Manager Server 4.2 postgresql-jdbc Affected
SUSE Manager Server Module 4.2 postgresql-jdbc Affected
SUSE OpenStack Cloud 7 postgresql-jdbc Affected
SUSE OpenStack Cloud 8 postgresql-jdbc Affected
SUSE OpenStack Cloud 9 postgresql-jdbc Affected
SUSE OpenStack Cloud Crowbar 8 postgresql-jdbc Affected
SUSE OpenStack Cloud Crowbar 9 postgresql-jdbc Affected
openSUSE Leap 15.3 postgresql-jdbc Released
openSUSE Leap 15.4 postgresql-jdbc Released
Container Status
suse/manager/5.0/x86_64/server
suse/manager/5.0/x86_64/server-attestation
postgresql-jdbcReleased


SUSE Timeline for this CVE

CVE page created: Mon Feb 19 15:00:16 2024
CVE page last modified: Mon Sep 9 14:07:07 2024