SCA: security update for org.springframework.kafka:spring-kafka (GHSA-crqf-q9fp-hwjw)

high Tenable Self-Hosted Container Security Plugin ID 414077

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. Specifically, an
application is vulnerable when all of the following are true: * The user does not configure an
ErrorHandlingDeserializer for the key and/or value of the record * The user explicitly sets container
properties checkDeserExWhenKeyNull and/or checkDeserExWhenValueNull container properties to true. * The
user allows untrusted sources to publish to a Kafka topic 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. (CVE-2023-34040)

See Also

https://github.com/advisories/GHSA-crqf-q9fp-hwjw

Plugin Details

Severity: High

ID: 414077

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.07

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-34040

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/24/2023

Vulnerability Publication Date: 8/24/2023

Reference Information

CVE: CVE-2023-34040

cwe: CWE-502