CVE-2020-8167 CSRF Vulnerability in rails-ujs

Medium 6.5 Published Updated

Attackers can exploit a CSRF flaw in the rails-ujs module to send tokens to wrong domains, bypassing security protections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-8167?

CVE-2020-8167 is a medium-severity vulnerability in Debian Debian Linux, published on 19 Jun 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.

Weakness: CWE-352

Which versions are affected by CVE-2020-8167?

4 open source packages ship an affected version, including actionview. It affects 2 products.

PackageAffectedFixed in
actionview RubyGemsFrom 5.0.05.2.4.3
actionview RubyGemsFrom 5.0.05.2.4.3
actionview RubyGemsFrom 6.0.06.0.3.1
actionview RubyGemsFrom 6.0.06.0.3.1

Products include Debian Debian Linux, Rubyonrails Rails.

How do I fix CVE-2020-8167?

Upgrade actionview to a fixed version for your release line: 5.2.4.3 or 6.0.3.1.

Is CVE-2020-8167 being exploited?

There is no known exploitation of CVE-2020-8167 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-8167, GHSA-xq5j-gw7f-jgj8, UBUNTU-CVE-2020-8167.

Is CVE-2020-8167 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free