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

EcosystemPackageFixed inAdvisory
Debian:12rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8165
Debian:13rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8165
Debian:14rails2:5.2.4.3+dfsg-1DEBIAN-CVE-2020-8165
RubyGemsactivesupport5.2.4.3GHSA-2p68-f74v-9wc6
RubyGemsactivesupport6.0.3.1GHSA-2p68-f74v-9wc6

Affected products (as reported)

VendorProductVersions
n/a https://github.com/rails/rails Fixed in 5.2.4.3, 6.0.3.1

Weakness: CWE-502

References