Summary
It was discovered that HyperSQL allowed SQL statements to call any static
method of any Java class in the classpath by default. If an application
passed untrusted input to HyperSQL statements, an attacker could possibly
use this issue to execute arbitrary code. After this update, only the
methods of java.lang.Math can be called by default, and other classes must
be listed in the hsqldb.method_class_names system property.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | hsqldb | 2.3.3+dfsg2-1ubuntu0.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | hsqldb | 2.4.1-2~18.04.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | hsqldb | 2.5.0-1ubuntu0.1~esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | hsqldb | 2.6.1-1ubuntu0.1~esm1 |
Vulnerabilities 1
-
High 8.0CVE-2022-41853 Public exploit
Remote code execution in HyperSQL DataBase
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 re…
References
-
report
https://ubuntu.com/security/CVE-2022-41853