ankeshdave / geotools

Official GeoTools repository
http://geotools.org
GNU Lesser General Public License v2.1
0 stars 0 forks source link

CVE-2022-41853 (Critical) detected in hsqldb-2.4.1.jar #123

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2022-41853 - Critical Severity Vulnerability

Vulnerable Library - hsqldb-2.4.1.jar

HSQLDB - Lightweight 100% Java SQL Database Engine

Library home page: http://hsqldb.org

Path to dependency file: /geotools/modules/extension/wmts/pom.xml

Path to vulnerable library: /root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar,/root/.m2/repository/org/hsqldb/hsqldb/2.4.1/hsqldb-2.4.1.jar

Dependency Hierarchy: - :x: **hsqldb-2.4.1.jar** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2022-10-06

URL: CVE-2022-41853

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-77xx-rxvh-q682

Release Date: 2022-10-06

Fix Resolution: org.hsqldb:hsqldb:2.7.1


Step up your Open Source Security Game with Mend here