CVE-2020-8159
Arbitrary file write in actionpack-page_caching gem
Reported by hackerone · Published May 12, 2020
actionpack-page_caching is fixed in 1.2.1 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| actionpack-page_caching | RubyGems | 1.2.1 |
| actionpack_page-caching | rubyonrails | 1.2.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/actionpack-page_caching | v1.2.1 |
| n/a | https://github.com/rails/actionpack-page_caching | 1.2.1 |
| RubyGems | actionpack-page_caching | 0 |
Timeline
- May 12, 2020 CVE Published
- Jul 13, 2020 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Aug 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-8159
vulnetix vdb fixes CVE-2020-8159
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8159/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [debian-lts-announce] 20210723 [SECURITY] [DLA 2719-1] ruby-actionpack-page-caching security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2020-8159 advisory