CVE-2020-8165Rubyonrails Rails
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- Priority
- 78
- CVSS 3.1
- 9.8
- EPSS
- 45.7% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jun 19, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | activesupport |
≥ 5.0.0 < 5.2.4.3 |
5.2.4.3 |
gem "activesupport", ">= 5.2.4.3" |
| RubyGems | activesupport |
≥ 6.0.0 < 6.0.3.1 |
6.0.3.1 |
gem "activesupport", ">= 6.0.3.1" |
Per OSV / GitHub Advisories (GHSA-2p68-f74v-9wc6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | < 5.2.4.3 |
| rubyonrails | rails | ≥ 6.0.0 < 6.0.3.1 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| opensuse | leap | 15.1 |
| opensuse | leap | 15.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- groups.google.com Mailing List Patch Third Party Advisory
- hackerone.com Exploit Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- weblog.rubyonrails.org Vendor Advisory
- www.debian.org Third Party Advisory
- security.netapp.com