Vulnerability from csaf_opensuse
Published
2024-06-15 00:00
Modified
2024-06-15 00:00
Summary
postgresql-jdbc-42.2.25-3.1 on GA media

Notes

Title of the patch
postgresql-jdbc-42.2.25-3.1 on GA media
Description of the patch
These are all security issues fixed in the postgresql-jdbc-42.2.25-3.1 package on the GA media of openSUSE Tumbleweed.
Patchnames
openSUSE-Tumbleweed-2024-12369
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
   document: {
      aggregate_severity: {
         namespace: "https://www.suse.com/support/security/rating/",
         text: "moderate",
      },
      category: "csaf_security_advisory",
      csaf_version: "2.0",
      distribution: {
         text: "Copyright 2024 SUSE LLC. All rights reserved.",
         tlp: {
            label: "WHITE",
            url: "https://www.first.org/tlp/",
         },
      },
      lang: "en",
      notes: [
         {
            category: "summary",
            text: "postgresql-jdbc-42.2.25-3.1 on GA media",
            title: "Title of the patch",
         },
         {
            category: "description",
            text: "These are all security issues fixed in the postgresql-jdbc-42.2.25-3.1 package on the GA media of openSUSE Tumbleweed.",
            title: "Description of the patch",
         },
         {
            category: "details",
            text: "openSUSE-Tumbleweed-2024-12369",
            title: "Patchnames",
         },
         {
            category: "legal_disclaimer",
            text: "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
            title: "Terms of use",
         },
      ],
      publisher: {
         category: "vendor",
         contact_details: "https://www.suse.com/support/security/contact/",
         name: "SUSE Product Security Team",
         namespace: "https://www.suse.com/",
      },
      references: [
         {
            category: "external",
            summary: "SUSE ratings",
            url: "https://www.suse.com/support/security/rating/",
         },
         {
            category: "self",
            summary: "URL of this CSAF notice",
            url: "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12369-1.json",
         },
         {
            category: "self",
            summary: "SUSE CVE CVE-2022-31197 page",
            url: "https://www.suse.com/security/cve/CVE-2022-31197/",
         },
      ],
      title: "postgresql-jdbc-42.2.25-3.1 on GA media",
      tracking: {
         current_release_date: "2024-06-15T00:00:00Z",
         generator: {
            date: "2024-06-15T00:00:00Z",
            engine: {
               name: "cve-database.git:bin/generate-csaf.pl",
               version: "1",
            },
         },
         id: "openSUSE-SU-2024:12369-1",
         initial_release_date: "2024-06-15T00:00:00Z",
         revision_history: [
            {
               date: "2024-06-15T00:00:00Z",
               number: "1",
               summary: "Current version",
            },
         ],
         status: "final",
         version: "1",
      },
   },
   product_tree: {
      branches: [
         {
            branches: [
               {
                  branches: [
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-42.2.25-3.1.aarch64",
                        product: {
                           name: "postgresql-jdbc-42.2.25-3.1.aarch64",
                           product_id: "postgresql-jdbc-42.2.25-3.1.aarch64",
                        },
                     },
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
                        product: {
                           name: "postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
                           product_id: "postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
                        },
                     },
                  ],
                  category: "architecture",
                  name: "aarch64",
               },
               {
                  branches: [
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-42.2.25-3.1.ppc64le",
                        product: {
                           name: "postgresql-jdbc-42.2.25-3.1.ppc64le",
                           product_id: "postgresql-jdbc-42.2.25-3.1.ppc64le",
                        },
                     },
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
                        product: {
                           name: "postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
                           product_id: "postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
                        },
                     },
                  ],
                  category: "architecture",
                  name: "ppc64le",
               },
               {
                  branches: [
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-42.2.25-3.1.s390x",
                        product: {
                           name: "postgresql-jdbc-42.2.25-3.1.s390x",
                           product_id: "postgresql-jdbc-42.2.25-3.1.s390x",
                        },
                     },
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
                        product: {
                           name: "postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
                           product_id: "postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
                        },
                     },
                  ],
                  category: "architecture",
                  name: "s390x",
               },
               {
                  branches: [
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-42.2.25-3.1.x86_64",
                        product: {
                           name: "postgresql-jdbc-42.2.25-3.1.x86_64",
                           product_id: "postgresql-jdbc-42.2.25-3.1.x86_64",
                        },
                     },
                     {
                        category: "product_version",
                        name: "postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
                        product: {
                           name: "postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
                           product_id: "postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
                        },
                     },
                  ],
                  category: "architecture",
                  name: "x86_64",
               },
               {
                  branches: [
                     {
                        category: "product_name",
                        name: "openSUSE Tumbleweed",
                        product: {
                           name: "openSUSE Tumbleweed",
                           product_id: "openSUSE Tumbleweed",
                           product_identification_helper: {
                              cpe: "cpe:/o:opensuse:tumbleweed",
                           },
                        },
                     },
                  ],
                  category: "product_family",
                  name: "SUSE Linux Enterprise",
               },
            ],
            category: "vendor",
            name: "SUSE",
         },
      ],
      relationships: [
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-42.2.25-3.1.aarch64 as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.aarch64",
            },
            product_reference: "postgresql-jdbc-42.2.25-3.1.aarch64",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-42.2.25-3.1.ppc64le as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.ppc64le",
            },
            product_reference: "postgresql-jdbc-42.2.25-3.1.ppc64le",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-42.2.25-3.1.s390x as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.s390x",
            },
            product_reference: "postgresql-jdbc-42.2.25-3.1.s390x",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-42.2.25-3.1.x86_64 as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.x86_64",
            },
            product_reference: "postgresql-jdbc-42.2.25-3.1.x86_64",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-javadoc-42.2.25-3.1.aarch64 as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
            },
            product_reference: "postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
            },
            product_reference: "postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-javadoc-42.2.25-3.1.s390x as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
            },
            product_reference: "postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
         {
            category: "default_component_of",
            full_product_name: {
               name: "postgresql-jdbc-javadoc-42.2.25-3.1.x86_64 as component of openSUSE Tumbleweed",
               product_id: "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
            },
            product_reference: "postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
            relates_to_product_reference: "openSUSE Tumbleweed",
         },
      ],
   },
   vulnerabilities: [
      {
         cve: "CVE-2022-31197",
         ids: [
            {
               system_name: "SUSE CVE Page",
               text: "https://www.suse.com/security/cve/CVE-2022-31197",
            },
         ],
         notes: [
            {
               category: "general",
               text: "PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. `;`, could lead to SQL injection. This could lead to executing additional SQL commands as the application's JDBC user. User applications that do not invoke the `ResultSet.refreshRow()` method are not impacted. User application that do invoke that method are impacted if the underlying database that they are querying via their JDBC application may be under the control of an attacker. The attack requires the attacker to trick the user into executing SQL against a table name who's column names would contain the malicious SQL and subsequently invoke the `refreshRow()` method on the ResultSet. Note that the application's JDBC user and the schema owner need not be the same. A JDBC application that executes as a privileged user querying database schemas owned by potentially malicious less-privileged users would be vulnerable. In that situation it may be possible for the malicious user to craft a schema that causes the application to execute commands as the privileged user. Patched versions will be released as `42.2.26` and `42.4.1`. Users are advised to upgrade. There are no known workarounds for this issue.",
               title: "CVE description",
            },
         ],
         product_status: {
            recommended: [
               "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.aarch64",
               "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.ppc64le",
               "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.s390x",
               "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.x86_64",
               "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
               "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
               "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
               "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
            ],
         },
         references: [
            {
               category: "external",
               summary: "CVE-2022-31197",
               url: "https://www.suse.com/security/cve/CVE-2022-31197",
            },
            {
               category: "external",
               summary: "SUSE Bug 1202170 for CVE-2022-31197",
               url: "https://bugzilla.suse.com/1202170",
            },
            {
               category: "external",
               summary: "SUSE Bug 1204789 for CVE-2022-31197",
               url: "https://bugzilla.suse.com/1204789",
            },
         ],
         remediations: [
            {
               category: "vendor_fix",
               details: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
               product_ids: [
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.aarch64",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.ppc64le",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.s390x",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.x86_64",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
               ],
            },
         ],
         scores: [
            {
               cvss_v3: {
                  baseScore: 8.1,
                  baseSeverity: "HIGH",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
                  version: "3.1",
               },
               products: [
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.aarch64",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.ppc64le",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.s390x",
                  "openSUSE Tumbleweed:postgresql-jdbc-42.2.25-3.1.x86_64",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.aarch64",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.ppc64le",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.s390x",
                  "openSUSE Tumbleweed:postgresql-jdbc-javadoc-42.2.25-3.1.x86_64",
               ],
            },
         ],
         threats: [
            {
               category: "impact",
               date: "2024-06-15T00:00:00Z",
               details: "important",
            },
         ],
         title: "CVE-2022-31197",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.