{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8159","id":"CVE-2020-8159","title":"Arbitrary file write in actionpack-page_caching gem","description":"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.","descriptionLong":"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.","published":"2020-05-12T13:01:43.000Z","updated":"2026-10-24T10:30:49.198410298Z","reserved":"2020-01-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["https://github.com/rails/actionpack-page_caching"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/rails/actionpack-page_caching","defaultStatus":null,"versions":[{"status":"affected","version":"v1.2.1"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack-page_caching","purl":"pkg:gem/actionpack-page_caching","ranges":["<1.2.1"],"fixed":["1.2.1"],"advisory":"GHSA-mg5p-95m9-rmfp"}],"cwes":["CWE-22"],"aliases":["GHSA-mg5p-95m9-rmfp"],"references":[{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/CFRVkEytdP8","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159","tags":["advisory"]},{"url":"https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2","tags":["web"]},{"url":"https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0538,"epssPercentile":0.92818,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8159","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8159","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8159","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mg5p-95m9-rmfp","ok":true,"note":"GHSA-mg5p-95m9-rmfp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8159","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}