CVE-2020-8159

NameCVE-2020-8159
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2719-1
Debian Bugs960680

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-actionpack-page-caching (PTS)buster1.1.0-1vulnerable
bullseye1.2.2-1fixed
sid, trixie, bookworm1.2.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-actionpack-page-cachingsourcestretch1.0.2-4+deb9u1DLA-2719-1
ruby-actionpack-page-cachingsource(unstable)1.2.2-1960680

Notes

[buster] - ruby-actionpack-page-caching <no-dsa> (Minor issue)
https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8
https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2 (v1.2.1)
https://github.com/rails/actionpack-page_caching/commit/bf4aab113f90a0c5182009709d5115a1d5772608 (v1.2.2)

Search for package or bug name: Reporting problems