Patchfirst
CVE-2020-8163 Public exploit EPSS 82.5%

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.

Summary

The flaw is a code injection vulnerability in Rails versions prior to 5.0.1, where the locals argument of a render call is not safely handled. An attacker who can control the locals argument of a render call could achieve remote code execution.

Heading is the official description · CVE.org
Breakdown
24.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available 13 days before disclosure.

  1. Public exploit codePoC-in-GitHub13 days before
  2. Disclosedday 0

7 fixes in actionview over 9 years. The latest fix listed for actionview is 6.0.0.beta3.

Fixes in actionviewRubyGems package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 3.0.4CVE-2011-044614 Feb 2011
  2. 4.1.14.2CVE-2016-20977 Apr 2016
  3. 4.2.5.1CVE-2016-075216 Feb 2016KEV
  4. 4.2.11.3CVE-2020-81632 Jul 2020
  5. 5.0.0.1CVE-2016-63167 Sep 2016
  6. 5.2.2.1CVE-2019-541827 Mar 2019KEV
  7. 6.0.0.beta3CVE-2019-541927 Mar 2019Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: actionview.

RubyGemsactionviewGHSA-cr3x-7m39-c6jq

Upgrade to 4.2.11.3

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2016-0752, CVE-2019-5418).

Still affected on this line by CVE-2020-5267 (fixed in 5.2.4.2, a newer line).

Gemfilegem "actionview", ">= 4.2.11.3"

The first fix for CVE-2020-8163.

Affected versions

If you runUpgrade to
All versions before 4.2.11.34.2.11.3

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close