Read the docs
TI-2021-22755 Aliases GHSA-3w6p-8f82-gw8r

Using JMSAppender in log4j configuration may lead to deserialization of untrusted data

Priority LOW 38CWE-502Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Code execution
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-502.

Summary

### Impact ClickHouse JDBC Bridge uses [slf4j-log4j12 1.7.32](https://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.7.32/), which depends on [log4j 1.2.17](https://repo1.maven.org/maven2/log4j/log4j/1.2.17/). It allows a remote attacker to execute code on the server, if you changed default log4j configuration by adding JMSAppender and an insecure JMS broker. ### Patches The patch version `2.0.7` removed log4j dependency by replacing `slf4j-log4j12` to `slf4j-jdk14`. Logging configuration is also changed from `log4j.properties` to `logging.properties`. ### Workarounds 1. Do NOT change log4j configuration to use JMSAppender along with insecure JMS broker 2. Alternatively, you can issue below command to remove `JMSAppender.class`: ```(bash) # install zip command if you don't have apt-get update && apt-get install -y zip # remove the class zip -d clickhouse-jdbc-bridge*.jar ru/yandex/clickhouse/jdbcbridge/internal/log4j/net/JMSAppender.class ``` ### References Please refer to [CVE-2021-4104](https://access.redhat.com/security/cve/CVE-2021-4104) to read more. ### For more information If you have any questions or comments about this advisory, please feel free to open an issue in the repository.

Why it matters now

Fix Fixed ru.yandex.clickhouse:clickhouse-jdbc-bridge (Maven): 2.0.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ru.yandex.clickhouse:clickhouse-jdbc-bridge (Maven)before 2.0.72.0.7Patch availableGHSA-3w6p-8f82-gw8r
  • ru.yandex.clickhouse:clickhouse-jdbc-bridge (Maven) Vendor— Affected before 2.0.7 Fixed in 2.0.7 Patch available GHSA-3w6p-8f82-gw8r

Remediation

  • Fix · GHSA-3w6p-8f82-gw8r ru.yandex.clickhouse:clickhouse-jdbc-bridge (Maven) Fixed in 2.0.7 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-3w6p-8f82-gw8r

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences