{"id":"UBUNTU-CVE-2020-8159","details":"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.","modified":"2025-10-24T04:48:19Z","published":"2020-05-12T13:15:00Z","upstream":["CVE-2020-8159"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8159"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8159"}],"affected":[{"package":{"name":"ruby-actionpack-page-caching","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-actionpack-page-caching@1.0.2-4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-3","1.0.2-4"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-actionpack-page-caching","binary_version":"1.0.2-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8159.json"}},{"package":{"name":"ruby-actionpack-page-caching","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-actionpack-page-caching@1.0.2-4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-4"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-actionpack-page-caching","binary_version":"1.0.2-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8159.json"}},{"package":{"name":"ruby-actionpack-page-caching","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-actionpack-page-caching@1.1.0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-actionpack-page-caching","binary_version":"1.1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8159.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}