CVE-2022-41853
published high CVSS 3.1 · 8.0Remote code execution in HyperSQL DataBase
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HyperSQL DataBase | — | hsqldbunspecified to < 2.7.1 | Affected | Not stated | |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1914 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | hsqldb | Advisory build | 2.5.1-1+deb11u1 | DSA-5313-1 |
| Oracle Linux | 6 | hsqldbi686 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Red Hat Enterprise Linux | RHEL-6 | hsqldbnoarch | Advisory build | 1:1.8.0.10-13.el6_10 | RHSA-2022:8559 |
| SUSE / openSUSE | SLE-12-SP5 | hsqldbnoarch | Advisory build | 2.2.9-5.3.1 | SUSE-SU-2022:3864-1 |
| Amazon Linux | AL2 | hsqldbnoarch | Listed in advisory | Not stated | ALAS2-2023-1914 |
| Debian | buster | hsqldb | Advisory build | 2.4.1-2+deb10u1 | DLA-3234-1 |
Show 49 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | hsqldbx86_64 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 7 | hsqldbaarch64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldbx86_64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Red Hat Enterprise Linux | RHEL-6 | hsqldbsrc | Advisory build | 1:1.8.0.10-13.el6_10 | RHSA-2022:8559 |
| Red Hat Enterprise Linux | RHEL-7 | hsqldbnoarch | Advisory build | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| Red Hat Enterprise Linux | RHEL-7 | hsqldbsrc | Advisory build | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | hsqldbnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | hsqldbnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldbaarch64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldbppc64le | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldbs390x | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldbx86_64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| Oracle Linux | 6 | hsqldb-demoi686 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 6 | hsqldb-demox86_64 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 6 | hsqldb-javadoci686 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 6 | hsqldb-javadocx86_64 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 6 | hsqldb-manuali686 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 6 | hsqldb-manualx86_64 | Advisory build | 1:1.8.0.10-12.0.1.el6 | ELSA-2023-12103 |
| Oracle Linux | 7 | hsqldb-demoaarch64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldb-demox86_64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldb-javadocaarch64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldb-javadocx86_64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldb-manualaarch64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Oracle Linux | 7 | hsqldb-manualx86_64 | Advisory build | 1:1.8.1.3-15.el7_9 | ELSA-2022-8560 |
| Red Hat Enterprise Linux | RHEL-6 | hsqldb-demonoarch | Advisory build | 1:1.8.0.10-13.el6_10 | RHSA-2022:8559 |
| Red Hat Enterprise Linux | RHEL-6 | hsqldb-javadocnoarch | Advisory build | 1:1.8.0.10-13.el6_10 | RHSA-2022:8559 |
| Red Hat Enterprise Linux | RHEL-6 | hsqldb-manualnoarch | Advisory build | 1:1.8.0.10-13.el6_10 | RHSA-2022:8559 |
| Red Hat Enterprise Linux | RHEL-7 | hsqldb-demonoarch | Advisory build | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| Red Hat Enterprise Linux | RHEL-7 | hsqldb-javadocnoarch | Advisory build | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| Red Hat Enterprise Linux | RHEL-7 | hsqldb-manualnoarch | Advisory build | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | hsqldb-demonoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | hsqldb-javadocnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | hsqldb-manualnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | hsqldb-demonoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | hsqldb-javadocnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | hsqldb-manualnoarch | Advisory build | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-demoaarch64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-demoppc64le | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-demos390x | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-demox86_64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-javadocaarch64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-javadocppc64le | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-javadocs390x | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-javadocx86_64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-manualaarch64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-manualppc64le | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-manuals390x | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | hsqldb-manualx86_64 | Advisory build | 2.7.1-1.1 | OPENSUSE-SU-2024:12450-1 |
| Amazon Linux | AL2 | hsqldbsrc | Listed in advisory | Not stated | ALAS2-2023-1914 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HyperSQL DataBase | hsqldb | unspecified to < 2.7.1 (affected · custom) | Google · cna |
Weaknesses
1- CWE-470 CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
References
4- http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7
- [debian-lts-announce] 20221210 [SECURITY] [DLA 3234-1] hsqldb security update https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html
- DSA-5313 https://www.debian.org/security/2023/dsa-5313
Provider assertions
3Google · cna
Remote code execution in HyperSQL DataBase
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 546af6c346b8337e94e38b40181b10c20dc9ae05d2fa51f10c6957f59e8f77c8
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record