Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2023-34040

Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-502 Deserialización de datos no confiables
Fecha de publicación:
24/08/2023
Última modificación:
18/10/2023

Descripción

*** Pendiente de traducción *** In Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, a possible deserialization attack vector existed, but only if unusual configuration was applied. An attacker would have to construct a malicious serialized object in one of the deserialization exception record headers.<br /> <br /> Specifically, an application is vulnerable when all of the following are true:<br /> <br /> * The user does not configure an ErrorHandlingDeserializer for the key and/or value of the record<br /> * The user explicitly sets container properties checkDeserExWhenKeyNull and/or checkDeserExWhenValueNull container properties to true.<br /> * The user allows untrusted sources to publish to a Kafka topic<br /> <br /> <br /> By default, these properties are false, and the container only attempts to deserialize the headers if an ErrorHandlingDeserializer is configured. The ErrorHandlingDeserializer prevents the vulnerability by removing any such malicious headers before processing the record.<br /> <br /> <br />

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* 2.8.1 (incluyendo) 2.9.10 (incluyendo)
cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* 3.0.0 (incluyendo) 3.0.9 (incluyendo)


Referencias a soluciones, herramientas e información