Security mailing lists by PureSourceCode

CVE-2022-41853

CRITICAL 9.8CVSS 3.1

HyperSQL DataBase vulnerable to remote code execution when processing untrusted input

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
6 Oct 2022
Last modified
17 Jun 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-470
Also known as
GHSA-77xx-rxvh-q682
Sources
NVDJSONOSV GHSA-77xx-rxvh-q682JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD cve-coordination@google.com (Secondary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hsqldb hypersql_database
cpe:2.3:a:hsqldb:hypersql_database:*:*:*:*:*:*:*:*
< 2.7.1 2.7.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
OSV Maven org.hsqldb:hsqldb < 2.7.1 2.7.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Oct 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.