Deserialization in Rubyonrails Rails
CVE-2020-8165
A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user-provided objects in MemCacheStore and RedisCacheStore potentially resulting in an RCE.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.457, 98.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.1, 15.2
- Https://github.com/rails/rails — versions Fixed in 5.2.4.3, 6.0.3.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
7 public repositories with exploit or proof-of-concept code for this CVE:
- masahiro331/CVE-2020-8165 (42 stars, last pushed 2023-01-19)
- hybryx/CVE-2020-8165 (4 stars, last pushed 2021-01-03)
- danielklim/cve-2020-8165-demo (1 star, last pushed 2021-02-16)
- umiterkol/CVE-2020-8165--Auto-Shell (1 star, last pushed 2020-11-13)
- progfay/CVE-2020-8165 (last pushed 2021-01-21): PoC for CVE-2020-8165
- AssassinUKG/CVE-2020-8165 (last pushed 2021-01-15)
- taipansec/CVE-2020-8165 (last pushed 2020-12-25)
Also mentioned in 12 other repositories (0xsyr0/OSCP, 0xT11/CVE-POC, 20142995/nuclei-templates, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/413388 (Exploit, Patch, Third Party Advisory)
- groups.google.com/g/rubyonrails-security/c/bv6fW4S0Y1c (Patch, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20200619 [SECURITY] [DLA 2251-1] rails security update (mailing-list, Mailing List, Third Party Advisory)
- weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released/ (Vendor Advisory)
- [debian-lts-announce] 20200720 [SECURITY] [DLA 2282-1] rails security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4766 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:1677 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:1679 (vendor-advisory, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20250509-0002/
This CVE has public exploit evidence. See the latest CVEs with public exploits.