VDB
Sign up
MEDIUM5.3

GHSA-wf66-mphr-4c4r

Apache Kafka exposes sensitive information in its DEBUG logs

Quick fix

GHSA-wf66-mphr-4c4r — org.apache.kafka:kafka-clients: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.9.2</version> for org.apache.kafka:kafka-clients

Details

Information exposure vulnerability has been identified in Apache Kafka.

The NetworkClient component will output entire requests and responses information in the DEBUG log level in the logs. By default, the log level is set to INFO level. If the DEBUG level is enabled, the sensitive information will be exposed via the requests and responses output log. The entire lists of impacted requests and responses are:

* AlterConfigsRequest

* AlterUserScramCredentialsRequest

* ExpireDelegationTokenRequest

* IncrementalAlterConfigsRequest

* RenewDelegationTokenRequest

* SaslAuthenticateRequest

* createDelegationTokenResponse

* describeDelegationTokenResponse

* SaslAuthenticateResponse

This issue affects Apache Kafka: from any version supported the listed API above through v3.9.1, v4.0.0. Apache advises Kafka users to upgrade to v3.9.2, v4.0.1, or later to avoid this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.kafka:kafka-clients
Introduced in: 0.11.0Fixed in: 3.9.2
Fix# pom.xml: bump <version>3.9.2</version> for org.apache.kafka:kafka-clients
Maven/org.apache.kafka:kafka-clients
Introduced in: 4.0.0Fixed in: 4.0.1
Fix# pom.xml: bump <version>4.0.1</version> for org.apache.kafka:kafka-clients

References