Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-8159 EUVD-2020-0432GHSA-mg5p-95m9-rmfp

Arbitrary file write in actionpack-page_caching gem

Published May 12, 2020 · Updated Aug 4, 2024 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/actionpack-page_caching v1.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ruby-actionpack-page-caching 1.2.2-1 —
Debian 9 ruby-actionpack-page-caching 1.0.2-4+deb9u1 DLA-2719-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ruby-actionpack-page-caching 1.1.0-1ubuntu0.1~esm1 USN-9058-1
Ubuntu Pro 18.04 LTS ruby-actionpack-page-caching 1.0.2-4ubuntu0.18.04.1~esm1 USN-9058-1
Ubuntu Pro 16.04 LTS ruby-actionpack-page-caching 1.0.2-4ubuntu0.16.04.1~esm1 USN-9058-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems actionpack-page_caching < 1.2.1 1.2.1 GHSA-mg5p-95m9-rmfp

Advisories 2

References