CVE-2024-1597

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*

History

21 Nov 2024, 08:50

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2024/04/02/6 - () http://www.openwall.com/lists/oss-security/2024/04/02/6 -
References () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56 - Third Party Advisory () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56 - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2024/05/msg00007.html - () https://lists.debian.org/debian-lts-announce/2024/05/msg00007.html -
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/ - Mailing List, Third Party Advisory () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/ - Mailing List, Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20240419-0008/ - () https://security.netapp.com/advisory/ntap-20240419-0008/ -
References () https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/ - Release Notes () https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/ - Release Notes
References () https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/ - Third Party Advisory () https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/ - Third Party Advisory
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 10.0

10 Jun 2024, 17:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/05/msg00007.html -

01 May 2024, 18:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/04/02/6 -

19 Apr 2024, 07:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240419-0008/ -

18 Apr 2024, 19:15

Type Values Removed Values Added
Summary (en) 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.8 are affected. (en) 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.

25 Mar 2024, 16:42

Type Values Removed Values Added
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/ - Mailing List, Third Party Advisory
References () https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/ - () https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/ - Third Party Advisory
References () https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/ - () https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/ - Release Notes
References () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56 - () https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56 - Third Party Advisory
CPE cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
CWE CWE-89
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Fedoraproject fedora
Postgresql postgresql Jdbc Driver
Fedoraproject
Postgresql

23 Mar 2024, 03:15

Type Values Removed Values Added
References
  • () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/ -

28 Feb 2024, 02:15

Type Values Removed Values Added
References
  • () https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/ -
  • () https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/ -

19 Feb 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-19 13:15

Updated : 2024-11-21 08:50


NVD link : CVE-2024-1597

Mitre link : CVE-2024-1597

CVE.ORG link : CVE-2024-1597


JSON object : View

Products Affected

postgresql

  • postgresql_jdbc_driver

fedoraproject

  • fedora
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')