Вернуться к предупреждениям о безопасности

HyperSQL Vulnerability — Ubuntu Security Update (USN-9298-1)

USN-9298-1 fixes CVE-2022-41853 in HyperSQL on Ubuntu 22.04 LTS, 20.04 LTS, 18.04 LTS and 16.04 LTS: HyperSQL could be made to run programs if it received specially crafted input. A standard system update installs the fix.

Critical 8 CVSS
Ubuntu 20.04 Ubuntu 22.04

Что это значит по лицензии SharedLicense

If an application passed untrusted input to HyperSQL statements, an attacker could possibly use this issue to execute arbitrary code.

  1. Ubuntu Security Notices

  2. USN-9298-1


Publication date

1 December 2026

Overview

HyperSQL could be made to run programs if it received specially crafted
input.

Releases


22.04 LTS


20.04 LTS


18.04 LTS


16.04 LTS


Packages

  • hsqldb – Java SQL database engine

Details

It was discovered that HyperSQL allowed SQL statements to call any static
method of any Java class in the classpath by default. If an application
passed untrusted input to HyperSQL statements, an attacker could possibly
use this issue to execute arbitrary code. After this update, only the
methods of java.lang.Math can be called by default, and other classes must
be listed in the hsqldb.method_class_names system property.

It was discovered that HyperSQL allowed SQL statements to call any static
method of any Java class in the classpath by default. If an application
passed untrusted input to HyperSQL statements, an attacker could possibly
use this issue to execute arbitrary code. After this update, only the
methods of java.lang.Math can be called by default, and other classes must
be listed in the hsqldb.method_class_names system property.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 LTS jammy libhsqldb-java –  2.6.1-1ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
20.04 LTS focal libhsqldb-java –  2.5.0-1ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
18.04 LTS bionic libhsqldb-java –  2.4.1-2~18.04.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
16.04 LTS xenial libhsqldb-java –  2.3.3+dfsg2-1ubuntu0.1~esm1

References

Часто задаваемые вопросы

What does USN-9298-1 fix?
It was discovered that HyperSQL allowed SQL statements to call any static method of any Java class in the classpath by default. If an application passed untrusted input to HyperSQL statements, an attacker could possibly use this issue to execute arbitrary code. After this update, only the methods of java.lang.Math can be called by default, and other classes must be listed in the hsqldb.method_class_names system property.
Which Ubuntu releases are affected?
The notice lists Ubuntu 22.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 LTS.
How do I apply USN-9298-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of hsqldb - Java SQL database engine.

Проверьте систему на уязвимости

Выберите продукт и операционную систему, чтобы увидеть точные команды исправления.

Проверьте свою систему