CVE Feed

    Dashboard / CVE / CVE-2024-1597

    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.

    Published:Feb 19, 2024
    Last Modified:Nov 3, 2025
    EPS:Feb 19, 2024
    EPSS Score:0.00306
    CVSS Score:10

    Affected Products

    Vendor
    Fedoraproject
    Product
    Fedora
    Vendor
    Pgjdbc
    Product
    Pgjdbc
    Vendor
    Postgresql
    Product
    Postgresql Jdbc Driver
    Vendor
    Redhat
    Product
    Apache Camel Spring Boot
    Vendor
    Redhat
    Product
    Build Keycloak
    Vendor
    Redhat
    Product
    Camel K
    Vendor
    Redhat
    Product
    Enterprise Linux
    Vendor
    Redhat
    Product
    Openshift Serverless
    Vendor
    Redhat
    Product
    Quarkus
    Vendor
    Redhat
    Product
    Rhel Aus
    Vendor
    Redhat
    Product
    Rhel E4s
    Vendor
    Redhat
    Product
    Rhel Eus
    Vendor
    Redhat
    Product
    Rhel Tus
    Vendor
    Redhat
    Product
    Rhosemc

    Exploits

    No exploit reference

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High