Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32339

Update postgresql driver to fix CVE-2024-1597

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The PostgreSQL driver was upgraded from 42.3.8 to 42.7.2.
    • Backlog priority:
      900

      Description

      Client reported vulnerability flagged by Prisma scan
       
      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.

       

      LTS 2021 uses postgresql-42.3.8.jar => should be upgraded at least to 42.3.9

      LTS 2023 uses postgresql-42.6.0.jar => should be upgraded at least to 42.6.1

      Ideally both LTS should be aligned against postgresql 42.7.2 or later if it does not bring any issue/regression.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: