Ruby on Rails up to 5.2.4/6.0.3 MemCacheStore/RedisCacheStore deserialization
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Ruby on Rails up to 5.2.4/6.0.3. It has been declared as critical. This vulnerability affects unknown code of the component MemCacheStore/RedisCacheStore. Executing a manipulation can lead to deserialization. This vulnerability is tracked as CVE-2020-8165. The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.
Details
A vulnerability has been found in Ruby on Rails up to 5.2.4/6.0.3 (Programming Language Software) and classified as critical. This vulnerability affects some unknown processing of the component MemCacheStore/RedisCacheStore. The manipulation with an unknown input leads to a deserialization vulnerability. The CWE definition for the vulnerability is CWE-502. The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
A deserialization of untrusted data vulnernerability exists in rails < 5.2.5, rails < 6.0.4 that can allow an attacker to unmarshal user-provided objects in MemCacheStore and RedisCacheStore potentially resulting in an RCE.
The weakness was disclosed 06/19/2020 (Website). The advisory is shared for download at groups.google.com. This vulnerability was named CVE-2020-8165 since 01/28/2020. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 253573 (Linux Distros Unpatched Vulnerability : CVE-2020-8165), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.2.5 or 6.0.4 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (253573). The entry VDB-157073 is pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: DeserializationCWE: CWE-502 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 253573
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2020-8165
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ruby on Rails 5.2.5/6.0.4
Timeline
01/28/2020 🔍06/19/2020 🔍
06/21/2020 🔍
08/22/2025 🔍
Sources
Advisory: groups.google.comStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2020-8165 (🔍)
GCVE (CVE): GCVE-0-2020-8165
GCVE (VulDB): GCVE-100-157072
See also: 🔍
Entry
Created: 06/21/2020 10:38Updated: 08/22/2025 20:29
Changes: 06/21/2020 10:38 (39), 06/21/2020 10:43 (18), 10/26/2020 10:14 (1), 05/09/2025 22:46 (19), 08/22/2025 20:29 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.