CVE-2022-41853

Remote code execution in HyperSQL DataBase

Published Oct 6, 2022 CVSS 3.1 · 8 High EPSS 5.3% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3234-1 hsqldb security update
Debian DSA Debian DSA DSA-5313-1 hsqldb security update
Github GHSA Github GHSA GHSA-77xx-rxvh-q682 HyperSQL DataBase vulnerable to remote code execution when processing untrusted input
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat jboss Enterprise Application Platform Eus
CPEs cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
Vendors & Products Redhat jboss Enterprise Application Platform Eus
Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • NVD-CWE-noinfo

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Apr 21, 2025, 1:48 PM
Reserved
Sep 30, 2022, 12:00 AM
Status
Modified
Published
Oct 6, 2022, 6:17 PM
Modified
Jun 17, 2026, 5:03 AM
Severity
Important
Public date
Oct 6, 2022, 12:00 AM