Description
Kafka Connect BigQuery Connector is an implementation of a sink connector from Apache Kafka to Google BigQuery. Prior to 2.11.0, there is an arbitrary file read in Google BigQuery Sink connector. Aiven's Google BigQuery Kafka Connect Sink connector requires Google Cloud credential configurations for authentication to BigQuery services. During connector configuration, users can supply credential JSON files that are processed by Google authentication libraries. The service fails to validate externally-sourced credential configurations before passing them to the authentication libraries. An attacker can exploit this by providing a malicious credential configuration containing crafted credential_source.file paths or credential_source.url endpoints, resulting in arbitrary file reads or SSRF attacks.
Problem types
CWE-73: External Control of File Name or Path
CWE-918: Server-Side Request Forgery (SSRF)
Product status
References
github.com/...-kafka/security/advisories/GHSA-3mg8-2g53-5gj4
github.com/...ommit/20ea3921c6fe72d605a033c1943b20f49eaba981
docs.cloud.google.com/support/bulletins
github.com/...onnector-for-apache-kafka/releases/tag/v2.11.0