Vulnerability · Published Jun 19, 2020 · Assigned by hackerone
CVE-2020-8165
Critical 9.8
In plain English
A critical-severity unsafe deserialization in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 45.7% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)45.7%top 1.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8165 |
| Debian:13 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8165 |
| Debian:14 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8165 |
| RubyGems | activesupport | 5.2.4.3 | GHSA-2p68-f74v-9wc6 |
| RubyGems | activesupport | 6.0.3.1 | GHSA-2p68-f74v-9wc6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | Fixed in 5.2.4.3, 6.0.3.1 |
Weakness: CWE-502
References
- https://hackerone.com/reports/413388 x_refsource_MISC
- https://groups.google.com/g/rubyonrails-security/c/bv6fW4S0Y1c x_refsource_MISC
- [debian-lts-announce] 20200619 [SECURITY] [DLA 2251-1] rails security update mailing-list, x_refsource_MLIST
- https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released/ x_refsource_CONFIRM
- [debian-lts-announce] 20200720 [SECURITY] [DLA 2282-1] rails security update mailing-list, x_refsource_MLIST
- DSA-4766 vendor-advisory, x_refsource_DEBIAN
- openSUSE-SU-2020:1677 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1679 vendor-advisory, x_refsource_SUSE
- https://security.netapp.com/advisory/ntap-20250509-0002/