CVE-2022-41853Unsafe Reflection in Database Hsqldb

CWE-470Unsafe Reflection10 documents7 sources
Severity
9.8CRITICALNVD
EPSS
70.1%
top 1.32%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 6
Latest updateApr 15

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",

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

CVEListV5hypersql_database/hsqldbunspecified2.7.1
Debianhypersql_database/hsqldb< 2.5.1-1+deb11u1+3
debiandebian/hsqldb< hsqldb 2.7.1-1 (bookworm)

Also affects: Debian Linux 10.0, 11.0

🔴Vulnerability Details

3
GHSA
HyperSQL DataBase vulnerable to remote code execution when processing untrusted input2022-10-06
OSV
CVE-2022-41853: Those using java2022-10-06
OSV
HyperSQL DataBase vulnerable to remote code execution when processing untrusted input2022-10-06

📋Vendor Advisories

4
Oracle
Oracle Oracle Insurance Applications Risk Matrix: Enterprise Edition (HyperSQL Database) — CVE-2022-418532024-04-15
Oracle
Oracle Oracle Fusion Middleware Risk Matrix: Third Party (HyperSQL Database) — CVE-2022-418532023-07-15
Red Hat
hsqldb: Untrusted input may lead to RCE attack2022-10-06
Debian
CVE-2022-41853: hsqldb - Those using java.sql.Statement or java.sql.PreparedStatement in hsqldb (HyperSQL...2022

🕵️Threat Intelligence

2
Qualys
Oracle Patch Tuesday, July 2023 Security Update Review2023-07-19
Qualys
Oracle Patch Tuesday, July 2023 Security Update Review | Qualys2023-07-19