Upstream information

CVE-2022-41853 at MITRE

Description

Those using java.sql.Statement or java.sql.PreparedStatement in hsqldb (HyperSQL DataBase) to process untrusted input may be vulnerable to a remote code execution attack. By default it is allowed to call any static method of any Java class in the classpath resulting in code execution. The issue can be prevented by updating to 2.7.1 or by setting the system property "hsqldb.method_class_names" to classes which are allowed to be called. For example, System.setProperty("hsqldb.method_class_names", "abc") or Java argument -Dhsqldb.method_class_names="abc" can be used. From version 2.7.1 all classes by default are not accessible except those in java.lang.Math and need to be manually enabled.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 9.8 8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack Vector Network Network
Attack Complexity Low High
Privileges Required None Low
User Interaction None Required
Scope Unchanged Changed
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1204521 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
SUSE Linux Enterprise Software Development Kit 12 SP5
  • hsqldb >= 2.2.9-5.3.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2022-3864
openSUSE Leap 15.3
  • hsqldb >= 2.3.3-150000.7.3.1
  • hsqldb-demo >= 2.3.3-150000.7.3.1
  • hsqldb-javadoc >= 2.3.3-150000.7.3.1
  • hsqldb-manual >= 2.3.3-150000.7.3.1
Patchnames:
openSUSE-SLE-15.3-2022-3823
openSUSE Leap 15.4
  • hsqldb >= 2.3.3-150000.7.3.1
  • hsqldb-demo >= 2.3.3-150000.7.3.1
  • hsqldb-javadoc >= 2.3.3-150000.7.3.1
  • hsqldb-manual >= 2.3.3-150000.7.3.1
Patchnames:
openSUSE-SLE-15.4-2022-3823
openSUSE Tumbleweed
  • hsqldb >= 2.7.1-1.1
  • hsqldb-demo >= 2.7.1-1.1
  • hsqldb-javadoc >= 2.7.1-1.1
  • hsqldb-manual >= 2.7.1-1.1
Patchnames:
openSUSE Tumbleweed GA hsqldb-2.7.1-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Server 12 SP5 hsqldb Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 hsqldb Released
SUSE Linux Enterprise Software Development Kit 12 SP5 hsqldb Released
openSUSE Leap 15.4 hsqldb Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Server 12 SP4 hsqldb Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 hsqldb Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 12 hsqldb Affected
SUSE Linux Enterprise Desktop 12 SP1 hsqldb Affected
SUSE Linux Enterprise Desktop 12 SP2 hsqldb Affected
SUSE Linux Enterprise Desktop 12 SP3 hsqldb Affected
SUSE Linux Enterprise Desktop 12 SP4 hsqldb Affected
SUSE Linux Enterprise Server 12 hsqldb Affected
SUSE Linux Enterprise Server 12 SP1 hsqldb Affected
SUSE Linux Enterprise Server 12 SP2 hsqldb Affected
SUSE Linux Enterprise Server 12 SP3 hsqldb Affected
SUSE Linux Enterprise Server for SAP Applications 12 hsqldb Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP1 hsqldb Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 hsqldb Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 hsqldb Affected
SUSE Linux Enterprise Software Development Kit 12 hsqldb Affected
SUSE Linux Enterprise Software Development Kit 12 SP1 hsqldb Affected
SUSE Linux Enterprise Software Development Kit 12 SP2 hsqldb Affected
SUSE Linux Enterprise Software Development Kit 12 SP3 hsqldb Affected
SUSE Linux Enterprise Software Development Kit 12 SP4 hsqldb Affected


SUSE Timeline for this CVE

CVE page created: Fri Oct 7 02:00:37 2022
CVE page last modified: Mon Jan 16 20:47:26 2023