CVE-2020-8159
CRITICAL 9.8CVSS 3.1Arbitrary file write in actionpack-page_caching gem
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
- 12 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-mg5p-95m9-rmfp
- Sources
- NVDJSONOSV GHSA-mg5p-95m9-rmfpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | actionpack_page-cachingcpe:2.3:a:rubyonrails:actionpack_page-caching:*:*:*:*:*:ruby:*:* |
< 1.2.1 | 1.2.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | RubyGems | actionpack-page_caching | < 1.2.1 | 1.2.1 |
References
- https://groups.google.com/forum/#%21topic/rubyonrails-security/CFRVkEytdP8
- https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8159 · ADVISORY
- https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2 · WEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 12 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2020)