QID 354681
Date Published: 2023-01-25
QID 354681: Amazon Linux Security Advisory for hsqldb : ALAS-2023-1666
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. (
( CVE-2022-41853)
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.
- ALAS-2023-1666 -
alas.aws.amazon.com/ALAS-2023-1666.html
CVEs related to QID 354681
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| ALAS-2023-1666 | amazon linux |
|