Vulnerability
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.
203 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALPINE-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…
- ALPINE-EDGE-CVE-2024-1597
-
ALSA-2024:1435
Important: postgresql-jdbc security update
-
ALSA-2024:1436
Important: postgresql-jdbc security update
- CGA-23cr-9wrj-xg5r
- CGA-24jw-57qm-483f
- CGA-256p-889g-gcj6
- CGA-26wj-w2w3-cq6h
- CGA-26xr-hpwm-hr8r
- CGA-27jm-x265-v6f7
- CGA-287w-wgf2-vvp5
- CGA-29pw-xcpm-p3r9
- CGA-2h4j-4w9p-gcc4
- CGA-2mj4-6432-hwxf
- CGA-2vw9-44hg-hm99
- CGA-3489-3384-w23q
- CGA-37h8-3j7p-4v4v
- CGA-39wh-mrpm-29wc
- CGA-3h3x-3gv7-vf87
- CGA-3hpr-hh9v-c6jg
- CGA-3m5g-55p7-qm3x
- CGA-3r92-7fgf-fffc
- CGA-45w4-8958-qj5x
- CGA-465f-rm87-7mv4
- CGA-48f2-xw9w-g4vr
- CGA-49v5-v858-vp9c
- CGA-49w2-g2fr-f835
- CGA-4f92-948c-vm77
- CGA-4mrw-x673-pp6w
- CGA-4q26-xgw7-2596
- CGA-4v9c-545r-722j
- CGA-5638-8v4r-q7f8
- CGA-583c-j848-xg65
- CGA-5cmg-w6mr-wx73
- CGA-5f88-78mq-rmh9
- CGA-5j2j-wfhh-xfmm
- CGA-5j39-qc24-p827
- CGA-5j57-88v5-vwj6
- CGA-5m35-pxmw-6wmh
- CGA-5mvh-7374-9g37
- CGA-5pjm-33mf-3rfh
- CGA-5v53-vcwj-rvjc
- CGA-5w5j-95gm-vhvp
- CGA-652p-hgpg-vvc4
- CGA-68rr-p265-qp8h
- CGA-68xv-9mc6-4jjh
- CGA-69v7-w793-79w6
- CGA-6c5f-wqfm-837c
- CGA-6f3h-8qh3-9qpc
- CGA-6hw3-hp63-79cm
- CGA-6jpv-9q35-h86p
- CGA-72xc-4xr6-mq6f
- CGA-763v-v4xc-rwqm
- CGA-7957-8jr3-4gv4
- CGA-799p-rmv7-jw99
- CGA-7fp5-qhrh-rg9x
- CGA-7gjc-wr72-fp4r
- CGA-7h34-7vhq-j259
- CGA-7hjm-r233-rp6w
- CGA-7j55-qmgm-c4gv
- CGA-7pwc-fqx7-ccm7
- CGA-7q8c-wcp8-x7w9
- CGA-7r92-jm68-6jqq
- CGA-7rfq-x85g-pg5w
- CGA-7w7f-g9gv-mwp6
- CGA-7x3q-m92q-jxgv
- CGA-84pq-gmrq-4mcc
- CGA-87g9-wmx8-736r
- CGA-8cqj-xpcr-rgh6
- CGA-8g3g-83cr-w6fv
- CGA-8grw-p868-cjfg
- CGA-8j6q-8p73-3859
- CGA-8mxj-m334-rhxh
- CGA-8q3f-79hw-5gwp
- CGA-93g7-62vg-5f59
- CGA-94jw-5hvj-jcw2
- CGA-94wc-92hv-hgcg
- CGA-97rr-x6vq-hxxm
- CGA-98cc-cm8r-p76j
- CGA-9g37-8p8f-v6x8
- CGA-9g85-c64q-qfw5
- CGA-9gvx-9h4x-88r5
- CGA-9hfm-7vjc-9452
- CGA-9qwp-f7h4-c92f
- CGA-9vmg-7qh3-jw33
- CGA-9vwx-h3jv-56xj
- CGA-9w8r-m2c8-vhvm
- CGA-9wvx-v54p-9c3c
- CGA-c2ch-3vqj-gp8x
- CGA-cccp-wj6w-6wgh
- CGA-cfg3-3fcg-wmx8
- CGA-cfmv-3w2m-qq84
- CGA-ch8m-vw8p-839q
- CGA-cpfm-hwc8-663v
- CGA-cpmr-32m4-7wv5
- CGA-cx7c-j29f-2vpx
- CGA-cxxv-m53w-34mp
- CGA-f39p-7fwm-x9h6
- CGA-f48x-chxc-phjc
- CGA-ff9j-wwc3-9569
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-1597.
References
- http://www.openwall.com/lists/oss-security/2024/04/02/6
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56
- https://lists.debian.org/debian-lts-announce/2024/05/msg00007.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU/
- https://security.netapp.com/advisory/ntap-20240419-0008/
- https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes/
- https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00017.html
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/