{"id":"MGASA-2024-0120","summary":"Updated postgresql-jdbc packages fix security vulnerability","details":"pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if\nusing PreferQueryMode=SIMPLE. Note this is not the default. In the\ndefault mode there is no vulnerability. A placeholder for a numeric\nvalue must be immediately preceded by a minus. There must be a second\nplaceholder for a string value after the first placeholder; both must be\non the same line. By constructing a matching string payload, the\nattacker can inject SQL to alter the query,bypassing the protections\nthat parameterized queries bring against SQL Injection attacks.\n(CVE-2024-1597)\n","modified":"2026-02-04T03:21:32.489636Z","published":"2024-04-11T23:58:49Z","related":["CVE-2024-1597"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2024-0120.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=33051"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2024/04/02/6"}],"affected":[{"package":{"name":"postgresql-jdbc","ecosystem":"Mageia:9","purl":"pkg:rpm/mageia/postgresql-jdbc?arch=source&distro=mageia-9"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"42.5.6-1.mga9"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2024-0120.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}