CVE-2020-8159Rubyonrails Actionpack Page-caching
Critical 9.8 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Actionpack Page-caching We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 5.4% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- May 12, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Actionpack Page-caching.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actionpack-page_caching |
< 1.2.1 |
1.2.1 |
gem "actionpack-page_caching", ">= 1.2.1" |
Per OSV / GitHub Advisories (GHSA-mg5p-95m9-rmfp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | actionpack_page-caching | < 1.2.1 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com
- lists.debian.org Mailing List Third Party Advisory