Back

CVE-2020-8159

CRITICAL

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: May 12, 2020 Modified: Jun 17, 2026
CWE-22 CWE-22

CVSS Metrics

CVSSv3
Attack Vector: NETWORK Attack Complexity: LOW Privileges Required: NONE User Interaction: NONE Scope: UNCHANGED Confidentiality Impact: HIGH Integrity Impact: HIGH Availability Impact: HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products (2)

Vendor Product Version
rubyonrails actionpack_page-caching * < 1.2.1
debian debian_linux 9.0

GitHub Security Advisory GHSA-mg5p-95m9-rmfp

Arbitrary file write in actionpack-page_caching gem

rubygems actionpack-page_caching < 1.2.1 Fixed: 1.2.1

Risk Scores

CVSS Score 9.8 / 10
EPSS Score 5.25%

Top 8% most likely to be exploited

Threat Score 40.8 / 100

Data Sources

NVD EPSS GitHub