CVE-2023-34050: Spring AMQP Deserialization Vulnerability

Published Oct 19, 2023
·
Updated

In spring AMQP versions 1.0.0 to 2.4.16 and 3.0.0 to 3.0.9 , allowed list patterns for deserializable class names were added to Spring AMQP, allowing users to lock down deserialization of data in messages from untrusted sources; however by default, when no allowed list was provided, all classes could be deserialized.

Specifically, an application is vulnerable if

the SimpleMessageConverter or SerializerMessageConverter is used

the user does not configure allowed list patterns

untrusted message originators gain permissions to write messages to the RabbitMQ broker to send malicious content

Affected Software

6 affected componentsFixes available
redhat/spring-amqp<2.7.17
2.7.17
redhat/spring-amqp<3.0.12
3.0.12
redhat/spring-amqp<3.1.5
3.1.5
redhat/spring-amqp<3.2.0
3.2.0
VMware Spring Advanced Message Queuing Protocol>=1.0.0<2.4.16
VMware Spring Advanced Message Queuing Protocol>=3.0.0<3.0.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/spring-amqp to a version that resolves this vulnerability.

    Fixed in 2.7.17
  2. Upgrade

    Upgrade redhat/spring-amqp to a version that resolves this vulnerability.

    Fixed in 3.0.12
  3. Upgrade

    Upgrade redhat/spring-amqp to a version that resolves this vulnerability.

    Fixed in 3.1.5
  4. Upgrade

    Upgrade redhat/spring-amqp to a version that resolves this vulnerability.

    Fixed in 3.2.0
  5. Upgrade

    Upgrade Spring AMQP to a version that resolves this vulnerability.

    Fixed in 3.0.9
  6. Configuration

    In Spring AMQP, configure allowed list patterns for deserializable class types when using SimpleMessageConverter or SerializerMessageConverter so that messages from untrusted sources cannot deserialize arbitrary classes (the vulnerability occurs when no allowed list patterns are provided and all classes can be deserialized).

    Spring AMQP (SimpleMessageConverter / SerializerMessageConverter) allowed list patterns for deserializable class = provide an allowed list (do not leave it unset)
  7. Compensating control

    Ensure that only trusted/untrusted-appropriate message sources can send messages to the RabbitMQ broker (the issue is exploitable when malicious content is received from untrusted message originators).

Event History

Oct 19, 2023
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
DescriptionSeverity
Data Sourced
08:15 AM
DescriptionSeverity
Oct 25, 2023
Data Sourced
via Red Hat·08:39 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-34050?

CVE-2023-34050 is a vulnerability in Spring AMQP versions 1.0.0 to 2.4.16 and 3.0.0 to 3.0.9 that allows deserialization of data from untrusted sources.

2

How does CVE-2023-34050 affect VMware Spring Advanced Message Queuing Protocol?

CVE-2023-34050 affects VMware Spring Advanced Message Queuing Protocol versions 1.0.0 to 2.4.16 and 3.0.0 to 3.0.9.

3

What is the severity of CVE-2023-34050?

The severity of CVE-2023-34050 is medium with a CVSS score of 5.

4

How can I fix CVE-2023-34050?

To fix CVE-2023-34050, upgrade to a patched version of Spring AMQP (2.4.17 or 3.0.10 or higher) or apply the recommended security patches.

5

Where can I find more information about CVE-2023-34050?

More information about CVE-2023-34050 can be found at the following reference: [CVE-2023-34050](https://spring.io/security/cve-2023-34050).

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203