Live threats

All CVEs / Rubyonrails

CVE-2020-8165Rubyonrails Rails

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rubyonrailsrails< 5.2.4.3
rubyonrailsrails≥ 6.0.0 < 6.0.3.1
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0
opensuseleap15.1
opensuseleap15.2

Official sources

References

Links published by the sources. Open them with care.