7.8
CWE
502
Advisory Published
Advisory Published
Updated

CVE-2023-34040

First published: Thu Aug 24 2023(Updated: )

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.

Credit: security@vmware.com security@vmware.com security@vmware.com

Affected SoftwareAffected VersionHow to fix
Vmware Spring For Apache Kafka>=2.8.1<=2.9.10
Vmware Spring For Apache Kafka>=3.0.0<=3.0.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-34040?

    CVE-2023-34040 is a vulnerability in Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, which allows for a possible deserialization attack vector.

  • What is the severity of CVE-2023-34040?

    The severity of CVE-2023-34040 is high, with a severity value of 7.8.

  • How can I fix CVE-2023-34040?

    To fix CVE-2023-34040, update to Spring for Apache Kafka version 3.0.10 or above, or version 2.9.11 or above.

  • Where can I find more information about CVE-2023-34040?

    You can find more information about CVE-2023-34040 on the Spring website, NIST's National Vulnerability Database (NVD), and the GitHub commit.

  • What is the CWE number associated with CVE-2023-34040?

    The CWE number associated with CVE-2023-34040 is CWE-502.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203