Debian DSA-5313-1 : hsqldb - security update

critical Nessus Plugin ID 169916

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5313 advisory.

It was found that those using java.sql.Statement or java.sql.PreparedStatement in hsqldb, a Java SQL 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.5.1-1+deb11u1 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.5.1-1+deb11u1 all classes by default are not accessible except those in java.lang.Math and need to be manually enabled. For the stable distribution (bullseye), this problem has been fixed in version 2.5.1-1+deb11u1. We recommend that you upgrade your hsqldb packages. For the detailed security status of hsqldb please refer to its security tracker page at: https://security- tracker.debian.org/tracker/hsqldb

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the hsqldb packages.

For the stable distribution (bullseye), this problem has been fixed in version 2.5.1-1+deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023573

https://security-tracker.debian.org/tracker/source-package/hsqldb

https://www.debian.org/security/2023/dsa-5313

https://security-tracker.debian.org/tracker/CVE-2022-41853

https://packages.debian.org/source/bullseye/hsqldb

Plugin Details

Severity: Critical

ID: 169916

File Name: debian_DSA-5313.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/11/2023

Updated: 1/24/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-41853

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libhsqldb-java-doc, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libhsqldb-java, p-cpe:/a:debian:debian_linux:hsqldb-utils

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 1/11/2023

Vulnerability Publication Date: 10/6/2022

Reference Information

CVE: CVE-2022-41853