CVE-2022-41853
CVE-2022-41853 · Remote code execution in HyperSQL DataBase
CVSS 8.0 · High · EPSS 5.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- hsqldbUpdate to 2.7.1
- hsqldb Debian 12Update to 2.7.1-1
- hsqldb Debian 13Update to 2.7.1-1
- hsqldb Debian 14Update to 2.7.1-1
- and 8 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="hsqldb"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2024:10208 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
- RHSA-2024:10207 · Red Hat jboss enterprise application platform eus 7.3 el7 ·
- RHSA-2023:1514 · Red Hat jboss enterprise application platform 7.4 el9 ·
- RHSA-2023:1513 · Red Hat jboss enterprise application platform 7.4 el8 ·
- RHSA-2023:1512 · Red Hat jboss enterprise application platform 7.4 el7 ·
- RHSA-2022:8560 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 computenode, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
- RHSA-2022:8559 · Red Hat rhel els 6 ·
- DSA-5313-1 · Debian 11 ·
- DLA-3234-1 · Debian 10 ·
- SUSE-SU-2022:3864-1 · SUSE Linux Enterprise Software Development Kit 12 SP5 ·
- SUSE-SU-2022:3823-1 · openSUSE Leap 15.3, openSUSE Leap 15.4 ·
Stack: system
Affected products and versions
hsqldb
- Versions
- ≥ unspecified, < 2.7.1: Affected (custom)
Update to 2.7.1
hsqldb Debian 12
- Affected ranges
- ECOSYSTEM: < 2.7.1-1
Update to 2.7.1-1
hsqldb Debian 13
- Affected ranges
- ECOSYSTEM: < 2.7.1-1
Update to 2.7.1-1
hsqldb Debian 14
- Affected ranges
- ECOSYSTEM: < 2.7.1-1
Update to 2.7.1-1
hsqldb Ubuntu 16.04 LTS
- Versions
- 2.2.9+dfsg-4ubuntu1
- 2.3.3+dfsg2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 18.04 LTS
- Versions
- 2.4.0-2
- 2.4.1-2~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 20.04 LTS
- Versions
- 2.5.0-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 22.04 LTS
- Versions
- 2.5.1-1
- 2.6.0-1
- 2.6.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 24.04 LTS
- Versions
- 2.7.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 25.10
- Versions
- 2.7.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 26.10
- Versions
- 2.7.4-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hsqldb Ubuntu 26.04 LTS
- Versions
- 2.7.4-1
- 2.7.4-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published