UBUNTU-CVE-2020-8159: Critical severity ubuntu/ruby-actionpack-page-caching vulnerability

Published May 12, 2020
·
Updated

There is a vulnerability in actionpackpage-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 Software

3 affected componentsFixes available
ubuntu/ruby-actionpack-page-caching<1.0.2-4ubuntu0.16.04.1~esm1
1.0.2-4ubuntu0.16.04.1~esm1
ubuntu/ruby-actionpack-page-caching<1.0.2-4ubuntu0.18.04.1~esm1
1.0.2-4ubuntu0.18.04.1~esm1
ubuntu/ruby-actionpack-page-caching<1.1.0-1ubuntu0.1~esm1
1.1.0-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-actionpack-page-caching to a version that resolves this vulnerability.

    Fixed in 1.0.2-4ubuntu0.16.04.1~esm1
  2. Upgrade

    Upgrade ubuntu/ruby-actionpack-page-caching to a version that resolves this vulnerability.

    Fixed in 1.0.2-4ubuntu0.18.04.1~esm1
  3. Upgrade

    Upgrade ubuntu/ruby-actionpack-page-caching to a version that resolves this vulnerability.

    Fixed in 1.1.0-1ubuntu0.1~esm1

Event History

May 12, 2020
CVE Published
via OSV·01:15 PM
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required for this issue to lead to remote code execution?

The vulnerable gem must be below version 1.2.1, and the attacker must be able to write unescaped ERB into a view. The arbitrary file-write condition can then potentially result in remote code execution on the web server.

2

Is authentication or user interaction required to exploit this vulnerability?

No. The supplied CVSS vector indicates network-based exploitation with low attack complexity and no required privileges or user interaction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203