CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 5.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.hsqldb:hsqldb 2.7.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.hsqldb:hsqldb (Maven): fixed in 2.7.1Explain CVE-2022-41853 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41853?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41853?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41853 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| HyperSQL DataBase hsqldb | before 2.7.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-77xx-rxvh-q682 | Maven | org.hsqldb:hsqldb | <2.7.1 | 2.7.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | hsqldb | 2.4.1-2+deb10u1 | DLA-3234-1 |
| Debian | 11 | hsqldb | 2.5.1-1+deb11u1 | DSA-5313-1 |
| Debian | 12, 13, 14 | hsqldb | 2.7.1-1 | DEBIAN-CVE-2022-41853 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | hsqldb | no fix listed | UBUNTU-CVE-2022-41853 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | hsqldb, hsqldb-demo, hsqldb-manual and 1 more | 1:1.8.1.3-15.el7_9 | RHSA-2022:8560 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis-native | 1:1.0.2-3.redhat_00004.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-apache-mime4j | 0:0.8.9-1.redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-artemis-native, eap7-artemis-native-wildfly, eap7-artemis-native-debuginfo | 1:1.0.2-4.redhat_00004.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-artemis-wildfly-integration | 0:1.0.7-1.redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 7 more | 0:11.0.17-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more | 0:1.5.11-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-ejb-client | 0:4.0.50-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-el-api_3.0_spec | 0:2.0.1-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-metadata, eap7-jboss-metadata-ear, eap7-jboss-metadata-ejb and 3 more | 0:13.4.0-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core | 0:1.10.0-26.Final_redhat_00025.1.el7eap | RHSA-2023:1512 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jbossws-cxf | 0:5.4.8-1.Final_redhat_00001.1.el7eap | RHSA-2023:1512 |
| 71 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Software Development Kit 12 SP5 | hsqldb | 2.2.9-5.3.1 | SUSE-SU-2022:3864-1 |
| openSUSE | Leap 15.3, Leap 15.4 | hsqldb | 2.3.3-150000.7.3.1 | SUSE-SU-2022:3823-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
By default, the static methods of any class that is on the classpath are available for use and can compromise security in some systems. The optional Java system property, hsqldb.method_class_names, allows preventing access to classes other than java.lang.Math or specifying a semicolon-separated list of allowed classes. A property value that ends with .* is treated as a wild card and allows access to all class or method names formed by substitution of the * (asterisk).
In the example below, the property has been included as an argument to the Java command.
java -Dhsqldb.method_class_names="org.me.MyClass;org.you.YourClass;org.you.lib.*" [the rest of the command line]
The above example allows access to the methods in the two classes: org.me.MyClass and org.you.YourClass together with all the classes in the org.you.lib package. Note that if the property is not defined, no access control is performed at this level.
The user who creates a Java routine must have the relevant access privileges on the tables that are used inside the Java method.
Once the routine has been defined, the normal database access control applies to its user. The routine can be executed only by those users who have been granted EXECUTE privileges on it. Access to routines can be granted to users with GRANT EXECUTE or GRANT ALL. For example, GRANT EXECUTE ON myroutine TO PUBLIC.
In hsqldb 2.7.1, all classes by default are not accessible, except those in java.lang.Math and need to be manually enabled.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | hsqldb-1:1.8.0.10-13.el6_10 | Fixed 2022-11-21 | RHSA-2022:8559 |
| Red Hat Enterprise Linux 7 | hsqldb-1:1.8.1.3-15.el7_9 | Fixed 2022-11-21 | RHSA-2022:8560 |
| Red Hat Fuse 7.11.1 | hsqldb | Fixed 2022-11-28 | RHSA-2022:8652 |
| Red Hat JBoss Enterprise Application Platform | com.h2database/h2:1.4.197.redhat-00004 | Fixed 2023-03-29 | RHSA-2023:1516 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-apache-cxf-0:3.1.16-3.SP1_redhat_00001.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-avro-0:1.7.6-2.redhat_00003.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-bouncycastle-0:1.68.0-1.redhat_00005.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-h2database-0:1.4.197-2.redhat_00005.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jackson-databind-0:2.8.11.6-1.SP1_redhat_00001.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jboss-marshalling-0:2.0.15-1.Final_redhat_00001.1.ep7.el7 | Fixed 2024-11-25 | RHSA-2024:10208 |
| A-MQ Clients 2 | hsqldb | Not affected | |
| Red Hat Data Grid 8 | hsqldb | Will not fix | |
| Red Hat Decision Manager 7 | hsqldb | Not affected | |
| Red Hat Enterprise Linux 8 | libreoffice | Not affected | |
| Red Hat Enterprise Linux 9 | libreoffice | Not affected | |
| Red Hat Integration Camel K 1 | hsqldb | Affected | |
| Red Hat Integration Camel Quarkus 1 | hsqldb | Fix deferred | |
| Red Hat JBoss Data Grid 7 | hsqldb | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | hsqldb | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | jboss-on | Out of support scope | |
| 89 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-41853.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.