CVEfocus › CVE database › CVE-2020-8159

CVE-2020-8159

CVSS 9.8 CriticalEPSS 5.4% (higher than 93% of CVEs)Published 2020-05-12Updated 2024-08-04Assigner: hackerone

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.

CWE-22

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-actionpack-page-cachingNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-actionpack-page-cachingNot affected
vulnerable_code_not_present
Ubuntu 20.04ruby-actionpack-page-cachingFix pending1.1.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-8159
Ubuntu 18.04ruby-actionpack-page-cachingFix pending1.0.2-4ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-8159
Ubuntu 16.04ruby-actionpack-page-cachingFix pending1.0.2-4ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2020-8159
Debian 12ruby-actionpack-page-cachingFixed1.2.2-1DEBIAN-CVE-2020-8159
RubyGems libraryactionpack-page_cachingFixed1.2.1GHSA-mg5p-95m9-rmfp

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.