Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClickHouse-Native-JDBC has a vulnerability that depends passively on aircompressor. Check whether the vulnerability involves ClickHouse ? #462

Open
qianxia520 opened this issue Jun 4, 2024 · 0 comments

Comments

@qianxia520
Copy link

ClickHouse-Native-JDBC has a vulnerability that depends passively on aircompressor. Check whether the vulnerability involves ClickHouse. The vulnerability details are as follows:
Aircompressor is a library with ports of the Snappy, LZO, LZ4, and Zstandard compression algorithms to Java. All decompressor implementations of Aircompressor (LZ4, LZO, Snappy, Zstandard) can crash the JVM for certain input, and in some cases also leak the content of other memory of the Java process (which could contain sensitive information). When decompressing certain data, the decompressors try to access memory outside the bounds of the given byte arrays or byte buffers. Because Aircompressor uses the JDK class sun.misc.Unsafe to speed up memory access, no additional bounds checks are performed and this has similar security consequences as out-of-bounds access in C or C++, namely it can lead to non-deterministic behavior or crash the JVM. Users should update to Aircompressor 0.27 or newer where these issues have been fixed. When decompressing data from untrusted users, this can be exploited for a denial-of-service attack by crashing the JVM, or to leak other sensitive information from the Java process. There are no known workarounds for this issue.

ClickHouse-Native-JDBC 2.7.1
aircompressor 0.21

@qianxia520 qianxia520 changed the title ClickHouse-Native-JDBC has a vulnerability that depends passively on aircompressor. Check whether the vulnerability involves ClickHouse ClickHouse-Native-JDBC has a vulnerability that depends passively on aircompressor. Check whether the vulnerability involves ClickHouse ? Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant