CVE-2023-34050: Spring AMQP - Insecure Deserialization
- Cve: CVE-2023-34050
- Name: Spring AMQP - Insecure Deserialization
- 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
- Impact: Attackers can execute arbitrary code via malicious messages, potentially leading to remote code execution or system compromise.
- Remediation: Configure allowed list patterns for deserialization or update to the latest version where this issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.01841
- Epss percentile: 0.7955
- Assignee: [email protected]
- Published at: 2023-10-19T08:15:08Z
- Age in days: 1132
- Modified at: 2026-06-17T06:02:49Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-34050
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/X1r0z/spring-amqp-deserialization | poc-in-github | 2023-10-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://spring.io/security/cve-2023-34050 | nvd | Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vmware:spring_advanced_message_queuing_protocol | >= 3.0.0, < 3.0.9; >= 1.0.0, < 2.4.16 | no | nvd | /v1/products/vmware/spring_advanced_message_queuing_protocol |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-10-20
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts