CVE-2022-41853 Remote code execution in HyperSQL DataBase
CriticalCVSS 9.8
EPSS 5.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.hsqldb/hsqldb(Maven) | < 2.7.1 | 2.7.1 |
| debian/hsqldb(Debian:12) | < 2.7.1-1 | 2.7.1-1 |
| debian/hsqldb(Debian:14) | < 2.7.1-1 | 2.7.1-1 |
| debian/hsqldb(Debian:13) | < 2.7.1-1 | 2.7.1-1 |
| org.hsqldb/hsqldb(Maven) | = 1.8.0.10 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.0.0 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.2.4 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.2.6 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.2.7 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.2.8 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.2.9 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.0 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.1 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.2 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.3 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.4 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.5 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.3.6 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.4.0 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.4.1 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.5.0 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.5.1 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.5.2 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.6.0 | No fix listed |
| org.hsqldb/hsqldb(Maven) | = 2.6.1 | No fix listed |
Show 26 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.hsqldb/hsqldb(Maven) | = 2.7.0 | No fix listed |
| HyperSQL DataBase hsqldb | < 2.7.1 | 2.7.1 |
| ubuntu/hsqldb(Ubuntu:22.04) | All versions | No fix listed |
| hsqldb hypersql database | < 2.7.1 | 2.7.1 |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| ubuntu/hsqldb(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:16.04) | = 2.2.9+dfsg-4ubuntu1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:16.04) | = 2.3.3+dfsg2-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:18.04) | = 2.4.0-2 | No fix listed |
| ubuntu/hsqldb(Ubuntu:18.04) | = 2.4.1-2~18.04 | No fix listed |
| ubuntu/hsqldb(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:20.04) | = 2.5.0-1build2 | No fix listed |
| ubuntu/hsqldb(Ubuntu:22.04) | = 2.5.1-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:22.04) | = 2.6.0-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:22.04) | = 2.6.1-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:24.04) | = 2.7.2-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/hsqldb(Ubuntu:25.10) | = 2.7.4-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:26.10) | = 2.7.4-1build1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:26.04) | = 2.7.4-1 | No fix listed |
| ubuntu/hsqldb(Ubuntu:26.04) | = 2.7.4-1build1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- bugs.chromium.org issue-tracking mailing-list third-party-advisory
- hsqldb.org issue-tracking third-party-advisory
- [debian-lts-announce] 20221210 [SECURITY] [DLA 3234-1] hsqldb security update mailing-list third-party-advisory
- DSA-5313 third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2022-41853 vendor-advisory
- bugs.debian.org issue-tracking
- sourceforge.net product
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking