Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-8165
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-8165
Complete source record
{
"id": "85813c148a1cb929d9c728e90967412618b7b8a3265ad37e94304a7b4e748fe1",
"url": "https://osv.dev/vulnerability/CVE-2020-8165",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-8165",
"summary": "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.",
"evidence": "osv:CVE-2020-8165",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-8165",
"aliases": [
"CVE-2020-8165",
"GHSA-2p68-f74v-9wc6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rails/rails",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7b5cc5a5dfcf38522be0a4b5daa97c5b2ba26c20"
},
{
"introduced": "66cabeda2c46c582d19738e1318be8d59584cc5b"
},
{
"fixed": "34991a6ae2fc68347c01ea7382fa89004159e019"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.2.4.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.3.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.0.3",
"v5.2.4.2",
"v6.0.3.rc1",
"v5.2.4.1",
"v5.2.4",
"v5.2.4.rc1",
"v6.0.0",
"v5.2.1.rc1",
"v5.2.0.rc1",
"v5.1.0.beta1",
"v5.0.0.beta4",
"v5.0.0.beta2",
"v5.0.0.beta1",
"v4.2.0.beta1",
"v4.0.0.rc1",
"v4.0.0.beta1",
"v3.2.0.rc1",
"v3.1.0.rc1",
"v3.1.0.beta1",
"v3.0.0.beta3",
"v3.0.0.beta.3",
"v2.0.1",
"v2.0.0",
"v2.0.0_RC2",
"v2.0.0_RC1",
"v2.0.0_PR",
"v1.1.1",
"v1.1.0",
"v1.1.0_RC1",
"v0.14.3",
"v0.14.1",
"v0.13.1",
"v0.13.0",
"v0.12.0",
"v0.11.1",
"v0.11.0",
"v0.10.1",
"v0.10.0",
"v0.9.5",
"v0.9.4.1",
"v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8165.json"
}
}
],
"modified": "2026-10-24T10:30:43.051780136Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/06/msg00022.html",
"https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html",
"https://security.netapp.com/advisory/ntap-20250509-0002/",
"https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released/",
"https://www.debian.org/security/2020/dsa-4766",
"https://groups.google.com/g/rubyonrails-security/c/bv6fW4S0Y1c",
"https://hackerone.com/reports/413388"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
},
{
"introduced": "15.2"
},
{
"last_affected": "15.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-8165",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435522,
"published_at": "2020-06-19T18:15:11.067+00:00"
}