{"id":"CVE-2020-8159","aliases":["CVE-2020-8159","GHSA-mg5p-95m9-rmfp"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary file write in actionpack-page_caching gem","summary":"There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad en la función Actionpack_page-caching en gem versión anterior a v1.2.1, que permite a un atacante escribir archivos arbitrarios en un servidor web, resultando potencialmente en una ejecución de código remota si el atacante puede escribir un ERB no escapado en una vista.","source":"nvd"}],"published":"2020-05-12T13:01:43.000Z","modified":"2026-06-17T03:25:57.750Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"v1.2.1","status":"affected"}],"product":"https://github.com/rails/actionpack-page_caching","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"RubyGems","package":"actionpack-page_caching","purl":"pkg:gem/actionpack-page_caching","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.1"}],"vendor":"rubyonrails","product":"actionpack_page-caching","cpe":"cpe:2.3:a:rubyonrails:actionpack_page-caching:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/CFRVkEytdP8","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2","tags":["web"],"sources":["ghsa"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8159","url":"https://www.cve.org/CVERecord?id=CVE-2020-8159","licence":"CVE Terms of Use","modified":"2024-08-04T09:48:25.823Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mg5p-95m9-rmfp","url":"https://github.com/advisories/GHSA-mg5p-95m9-rmfp","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:14.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8159","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159","licence":"Public domain","modified":"2026-06-17T03:25:57.750Z"}],"updatedAt":"2026-11-25T22:57:52.376Z","epss":{"score":0.0538,"percentile":0.92835,"date":"2026-12-01T12:00:22.000Z"}}