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.
CVSS Details
- CVSS 3.1 Base Score: 8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade hsqldb-javadocUpgrade hsqldbUpgrade hsqldb-manualUpgrade hsqldb-demo | Jan 24, 2023 | Oct 6, 2022 |
| Amazon_linux | — | Upgrade hsqldb | Jan 25, 2023 | Oct 6, 2022 |
| Centos_linux | — | Upgrade hsqldb-demoUpgrade hsqldbUpgrade hsqldb-manualUpgrade hsqldb-javadoc | Nov 22, 2022 | Oct 6, 2022 |
| Debian | — | Upgrade hsqldb | Dec 12, 2022 | Oct 6, 2022 |
| Dell Powerstore Dsa2025050 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Jan 28, 2025 |
| Huawei Euleros 2_0_sp5 | — | Upgrade hsqldb | Jun 9, 2023 | Oct 6, 2022 |
| Oracle_linux | — | Upgrade hsqldbUpgrade hsqldb-demoUpgrade hsqldb-javadocUpgrade hsqldb-manual | Nov 22, 2022 | Oct 6, 2022 |
| Red Hat Jboss Eap | — | Upgrade Red Hat JBoss EAP to the latest version | Sep 19, 2024 | Oct 6, 2022 |
| Red_hat Jboss_eap | — | — | Apr 10, 2023 | Oct 6, 2022 |
| Redhat_linux | — | Upgrade hsqldb-manualUpgrade hsqldbUpgrade hsqldb-demoUpgrade hsqldb-javadoc | Nov 22, 2022 | Oct 6, 2022 |
| Suse | — | Upgrade hsqldb-javadocUpgrade hsqldb-manualUpgrade hsqldb-demoUpgrade hsqldb | Nov 2, 2022 | Oct 6, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub