CVE-2020-36282:
Unsafe Deserialization that can Result in Code Execution
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.81462%
CWE
Published
12/10/2021
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.rabbitmq.jms:rabbitmq-jms | maven | >= 2.0, < 2.2.0 | 2.2.0 |
com.rabbitmq.jms:rabbitmq-jms | maven | >= 1.0, < 1.15.2 | 1.15.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from StreamMessage deserialization using ObjectInputStream without proper validation. The commit f647e5d introduced WhiteListObjectInputStream
and modified RMQStreamMessage
's constructor to enforce trusted packages. The original readBody
method (using raw ObjectInputStream
) and constructor (lacking trusted package handling) were the vulnerable points, as they allowed deserialization of untrusted payloads.