{"id":"CVE-2020-8159","aliases":["DEBIAN-CVE-2020-8159","DLA-2719-1","EUVD-2020-0432","GHSA-mg5p-95m9-rmfp","UBUNTU-CVE-2020-8159"],"status":"published","title":"Arbitrary file write in actionpack-page_caching gem","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0538,"percentile":0.92719,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-05-12T13:01:43Z","modified":"2026-10-26T12:02:52Z","fixes":[{"ecosystem":"RubyGems","package":"actionpack-page_caching","fixed_in":["1.2.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-actionpack-page-caching","fixed_in":["1.2.2-1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"ruby-actionpack-page-caching","fixed_in":["1.0.2-4+deb9u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack-page_caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-actionpack-page-caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"ruby-actionpack-page-caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-4+deb9u1"}]}],"versions":["1.0.2-4"]},{"source":"osv","ecosystem":"RubyGems","package":"actionpack-page_caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.2.0"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ruby-actionpack-page-caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-3","1.0.2-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ruby-actionpack-page-caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ruby-actionpack-page-caching","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"rubyonrails","product":"actionpack_page-caching"}],"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","report"]},{"url":"https://github.com/advisories/GHSA-mg5p-95m9-rmfp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-8159","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-8159","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8159","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-8159","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:01:43Z","modified":"2024-08-04T09:48:25.823Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:50.88562Z"}],"euvd":[{"id":"EUVD-2020-0432","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:01:43Z","modified":"2024-08-04T09:48:25Z","updated_at":"2026-11-03T03:07:58.506831Z"}],"ghsa":[{"id":"GHSA-mg5p-95m9-rmfp","title":"Arbitrary file write in actionpack-page_caching gem","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-13T16:28:46Z","modified":"2023-02-01T05:02:58Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:31.364752Z"}],"nvd":[{"id":"CVE-2020-8159","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:15:13.25Z","modified":"2026-06-17T03:25:57.75Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:00.784809Z"}],"osv":[{"id":"CVE-2020-8159","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:15:13.25Z","modified":"2026-10-24T10:30:49.198410298Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:17.663289Z"},{"id":"DEBIAN-CVE-2020-8159","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:15:13.25Z","modified":"2026-10-26T12:02:52.114971537Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"GHSA-mg5p-95m9-rmfp","title":"Arbitrary file write in actionpack-page_caching gem","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-13T16:28:46Z","modified":"2023-11-08T04:04:14.565776Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:51.811331Z"},{"id":"UBUNTU-CVE-2020-8159","description":"There is a vulnerability in actionpack_page-caching gem \u003c 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.","status":"published","published":"2020-05-12T13:15:00Z","modified":"2025-10-24T04:48:19Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"DLA-2719-1","title":"ruby-actionpack-page-caching - security update","status":"published","published":"2021-07-23T00:00:00Z","modified":"2026-03-09T01:17:58.806112Z","updated_at":"2026-11-02T15:46:10.712745Z"}]}}
