Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.amqp/spring-amqp
  4. ›
  5. CVE-2023-34050

CVE-2023-34050: Deserialization of Untrusted Data

October 19, 2023 (updated October 25, 2023)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2023-34050
  • spring.io/security/cve-2023-34050

Code Behaviors & Features

Detect and mitigate CVE-2023-34050 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 2.4.16, all versions starting from 3.0.0 before 3.0.9

Fixed versions

  • 2.4.16
  • 3.0.9

Solution

Upgrade to versions 2.4.16, 3.0.9 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.springframework.amqp/spring-amqp/CVE-2023-34050.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.