Skip to content
Connect AISign inSign up free
CVE-2024-159710.0CriticalCWE-89

CVE-2024-1597: pgjdbc SQL Injection via line comment generation

pgjdbc

Affected: pgjdbc · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

4.8%probability of exploitation in the next 30 days
92nd percentile
050100

Higher than 92% of scored CVEs

10.0CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • pgjdbc · pgjdbc< 42.7.2; < 42.6.1; < 42.5.5; < 42.4.4; < 42.3.9; < 42.2.28

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
pgjdbc
Published
February 2024

CoverageNo articles yet

No CyberSIXT article names CVE-2024-1597 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References