CVE-2022-41853 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control | CVE | Third Party Advisory |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7 | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html | CVE | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2023/dsa-5313 | CVE | Third Party Advisory |
| http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control | [email protected] | Third Party Advisory |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7 | [email protected] | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html | [email protected] | Mailing ListThird Party Advisory |
| https://www.debian.org/security/2023/dsa-5313 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-470 | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hsqldb hypersql database | < 2.7.1 |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 3, 2023 | Modified Analysis | [email protected] |
| Jan 11, 2023 | CVE Modified | [email protected] |
| Dec 10, 2022 | CVE Modified | [email protected] |
| Oct 11, 2022 | Initial Analysis | [email protected] |