CVE-2022-41853 – org.hsqldb:hsqldb
Package
Manager: maven
Name: org.hsqldb:hsqldb
Vulnerable Version: >=0 <2.7.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.70783 pctl0.98646
Details
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.
Metadata
Created: 2022-10-06T18:52:05Z
Modified: 2023-01-11T22:59:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-77xx-rxvh-q682/GHSA-77xx-rxvh-q682.json
CWE IDs: ["CWE-470"]
Alternative ID: GHSA-77xx-rxvh-q682
Finding: F004
Auto approve: 1