HighFix available
rails — security advisory
The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.
- Products
- rails
- Affected versions
- Not specified
- Fixed versions
- 2:5.2.0+dfsg-2
- CVEs
- CVE-2020-8163
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:18 UTC · Revision 1
Source evidence
The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.
osv:DEBIAN-CVE-2020-8163
rails
Fixed versions: 2:5.2.0+dfsg-2
rails
Fixed versions: 2:5.2.0+dfsg-2
rails
Fixed versions: 2:5.2.0+dfsg-2
Complete source record
{
"id": "ba1736edb4fadabd93ade38d744ab44f480bc06dab0269cdafc485a99b7f75ce",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-8163",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-8163",
"summary": "The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.",
"evidence": "osv:DEBIAN-CVE-2020-8163",
"products": [
{
"name": {
"value": "rails",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:5.2.0+dfsg-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rails",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:5.2.0+dfsg-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rails",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:5.2.0+dfsg-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-8163",
"aliases": [
"DEBIAN-CVE-2020-8163"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:5.2.0+dfsg-2"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-8163.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:5.2.0+dfsg-2"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-8163.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:5.2.0+dfsg-2"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-8163.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:24.258416849Z",
"provider": "osv",
"upstream": [
"CVE-2020-8163"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-8163"
]
},
"related_cves": [
{
"value": "CVE-2020-8163",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452098,
"published_at": "2020-07-02T19:15:12.433+00:00"
}