CVE-2022-41853

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-41853
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-41853.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-41853
Aliases
Related
Published
2022-10-06T18:17:07Z
Modified
2024-09-11T04:55:53.885277Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.methodclassnames" to classes which are allowed to be called. For example, System.setProperty("hsqldb.methodclassnames", "abc") or Java argument -Dhsqldb.methodclassnames="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.

References

Affected packages

Debian:11 / hsqldb

Package

Name
hsqldb
Purl
pkg:deb/debian/hsqldb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.1-1+deb11u1

Affected versions

2.*

2.5.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / hsqldb

Package

Name
hsqldb
Purl
pkg:deb/debian/hsqldb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / hsqldb

Package

Name
hsqldb
Purl
pkg:deb/debian/hsqldb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}