Vulnerability from csaf_suse
Published
2022-10-24 13:14
Modified
2022-10-24 13:14
Summary
Security update for postgresql-jdbc
Notes
Title of the patch
Security update for postgresql-jdbc
Description of the patch
This update for postgresql-jdbc fixes the following issues:
- CVE-2022-31197: Fixed SQL injection vulnerability (bsc#1202170).
Patchnames
SUSE-2022-3705,SUSE-SLE-Module-SUSE-Manager-Server-4.1-2022-3705
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: "important", }, 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: "Security update for postgresql-jdbc", title: "Title of the patch", }, { category: "description", text: "This update for postgresql-jdbc fixes the following issues:\n\n- CVE-2022-31197: Fixed SQL injection vulnerability (bsc#1202170).\n", title: "Description of the patch", }, { category: "details", text: "SUSE-2022-3705,SUSE-SLE-Module-SUSE-Manager-Server-4.1-2022-3705", 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/suse-su-2022_3705-1.json", }, { category: "self", summary: "URL for SUSE-SU-2022:3705-1", url: "https://www.suse.com/support/update/announcement/2022/suse-su-20223705-1/", }, { category: "self", summary: "E-Mail link for SUSE-SU-2022:3705-1", url: "https://lists.suse.com/pipermail/sle-security-updates/2022-October/012639.html", }, { category: "self", summary: "SUSE Bug 1202170", url: "https://bugzilla.suse.com/1202170", }, { category: "self", summary: "SUSE CVE CVE-2022-31197 page", url: "https://www.suse.com/security/cve/CVE-2022-31197/", }, ], title: "Security update for postgresql-jdbc", tracking: { current_release_date: "2022-10-24T13:14:52Z", generator: { date: "2022-10-24T13:14:52Z", engine: { name: "cve-database.git:bin/generate-csaf.pl", version: "1", }, }, id: "SUSE-SU-2022:3705-1", initial_release_date: "2022-10-24T13:14:52Z", revision_history: [ { date: "2022-10-24T13:14:52Z", number: "1", summary: "Current version", }, ], status: "final", version: "1", }, }, product_tree: { branches: [ { branches: [ { branches: [ { category: "product_version", name: "postgresql-jdbc-42.2.10-150200.3.11.1.noarch", product: { name: "postgresql-jdbc-42.2.10-150200.3.11.1.noarch", product_id: "postgresql-jdbc-42.2.10-150200.3.11.1.noarch", }, }, ], category: "architecture", name: "noarch", }, { branches: [ { category: "product_name", name: "SUSE Manager Server Module 4.1", product: { name: "SUSE Manager Server Module 4.1", product_id: "SUSE Manager Server Module 4.1", product_identification_helper: { cpe: "cpe:/o:suse:sle-module-suse-manager-server:4.1", }, }, }, ], category: "product_family", name: "SUSE Linux Enterprise", }, ], category: "vendor", name: "SUSE", }, ], relationships: [ { category: "default_component_of", full_product_name: { name: "postgresql-jdbc-42.2.10-150200.3.11.1.noarch as component of SUSE Manager Server Module 4.1", product_id: "SUSE Manager Server Module 4.1:postgresql-jdbc-42.2.10-150200.3.11.1.noarch", }, product_reference: "postgresql-jdbc-42.2.10-150200.3.11.1.noarch", relates_to_product_reference: "SUSE Manager Server Module 4.1", }, ], }, 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: [ "SUSE Manager Server Module 4.1:postgresql-jdbc-42.2.10-150200.3.11.1.noarch", ], }, 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: [ "SUSE Manager Server Module 4.1:postgresql-jdbc-42.2.10-150200.3.11.1.noarch", ], }, ], 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: [ "SUSE Manager Server Module 4.1:postgresql-jdbc-42.2.10-150200.3.11.1.noarch", ], }, ], threats: [ { category: "impact", date: "2022-10-24T13:14:52Z", 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.
Title of the comment
Description of the comment
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.