GHSA-crqf-q9fp-hwjw · Severity: high · Ecosystem: maven — Spring-Kafka has Java Deserialization vulnerability When Improperly Configured
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.
Conclusion & alert: CVE-2023-34040 is rated Moderate Risk (44.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.16%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 21.41% | 2.16% | -19.25% |
| 2 | 2026-03-30 | 27.36% | 21.41% | -5.95% |
| 3 | 2025-11-21 | — | 27.36% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.8 | 3.4 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
GHSA-crqf-q9fp-hwjw · Severity: high · Ecosystem: maven — Spring-Kafka has Java Deserialization vulnerability When Improperly Configured
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vmware | spring_for_apache_kafka | >= 2.8.1, <= 2.9.10 | cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
| vmware | spring_for_apache_kafka | >= 3.0.0, <= 3.0.9 | cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://spring.io/security/cve-2023-34040 | Mitigation Vendor Advisory |