# CVE-2020-8165: ActiveSupport potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 45.7%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-26T14:49:24.000Z
- Modified: 2026-06-17T03:25:58.407Z
- Also known as: GHSA-2p68-f74v-9wc6
- Weaknesses: CWE-502
- Assigned by: hackerone

## Description

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.

(As written by CVE List.)

## Affected

- https://github.com/rails/rails: Fixed in 5.2.4.3, 6.0.3.1
- activesupport (RubyGems): from 5.0.0 before 5.2.4.3; from 6.0.0 before 6.0.3.1
- rubyonrails rails: before 5.2.4.3; from 6.0.0 before 6.0.3.1
- debian debian_linux: 8.0; 9.0; 10.0
- opensuse leap: 15.1; 15.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/413388> (exploit, patch, third-party-advisory, web)
- <https://groups.google.com/g/rubyonrails-security/c/bv6fW4S0Y1c> (mailing-list, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00022.html> (mailing-list, third-party-advisory, web)
- <https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2020/dsa-4766> (third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00031.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00034.html> (mailing-list, third-party-advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250509-0002/>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8165> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2020-8165.yml> (web)
- <https://groups.google.com/forum/#!topic/rubyonrails-security/bv6fW4S0Y1c> (web)
- <https://security.netapp.com/advisory/ntap-20250509-0002> (web)
- <https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released> (web)

## Sources

- CVE List: [CVE-2020-8165](https://www.cve.org/CVERecord?id=CVE-2020-8165), CVE Terms of Use, modified 2025-05-09
- GitHub Advisory Database: [GHSA-2p68-f74v-9wc6](https://github.com/advisories/GHSA-2p68-f74v-9wc6), CC-BY-4.0, modified 2025-05-09
- NVD: [CVE-2020-8165](https://nvd.nist.gov/vuln/detail/CVE-2020-8165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8165 · Whole record: https://cve.day/CVE-2020-8165.json · Rebuilt by cve.day 2026-11-25T22:57:53.049Z
