PT-2023-19973

CVE-2023-25194

·

Publicado

2023-02-07

·

Atualizado

2026-10-22

Descrição por

CVSS 3.1
8.8
Alta
MétricasAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Kafka Connect versions prior to 3.4.0 Apache Kafka versions 2.3.0 through 3.3.x Bitbucket Data Center and Server versions 7.21.0 through 8.12.0
Description A possible security vulnerability has been identified in Apache Kafka Connect API. This requires access to a Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS config and a SASL-based security protocol. When configuring the connector via the Kafka Connect REST API, an authenticated operator can set the sasl.jaas.config property for any of the connector's Kafka clients to "com.sun.security.auth.module.JndiLoginModule", which can be done via the producer.override.sasl.jaas.config, consumer.override.sasl.jaas.config, or admin.override.sasl.jaas.config properties. This will allow the server to connect to the attacker's LDAP server and deserialize the LDAP response, which the attacker can use to execute java deserialization gadget chains on the Kafka connect server. Attacker can cause unrestricted deserialization of untrusted data (or) RCE vulnerability when there are gadgets in the classpath.
Recommendations For Apache Kafka Connect versions prior to 3.4.0, upgrade to Apache Kafka Connect 3.4.0 or later. For Bitbucket Data Center and Server versions 7.21.0 through 8.12.0, upgrade to the specified supported fixed versions:
  • Bitbucket Data Center and Server 7.21: Upgrade to a release greater than or equal to 7.21.16
  • Bitbucket Data Center and Server 8.9: Upgrade to a release greater than or equal to 8.9.4
  • Bitbucket Data Center and Server 8.10: Upgrade to a release greater than or equal to 8.10.4
  • Bitbucket Data Center and Server 8.11: Upgrade to a release greater than or equal to 8.11.3
  • Bitbucket Data Center and Server 8.12: Upgrade to a release greater than or equal to 8.12.1 As a temporary workaround, consider disabling the com.sun.security.auth.module.JndiLoginModule in the SASL JAAS configuration. Restrict access to the Kafka Connect REST API to minimize the risk of exploitation. Validate connector configurations and only allow trusted JNDI configurations. Examine connector dependencies for vulnerable versions and either upgrade their connectors, upgrading that specific dependency, or removing the connectors as options for remediation.
Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-26F8-X7CC-WQPC
OESA-2026-4420
OESA-2026-4421
OESA-2026-4422
OESA-2026-4423
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾