CVE-2020-8167 CSRF Vulnerability in rails-ujs
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.
| Package | Affected | Fixed in |
|---|---|---|
actionview RubyGems | From 5.0.0 | 5.2.4.3 |
actionview RubyGems | From 5.0.0 | 5.2.4.3 |
actionview RubyGems | From 6.0.0 | 6.0.3.1 |
actionview RubyGems | From 6.0.0 | 6.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.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-8167, GHSA-xq5j-gw7f-jgj8, UBUNTU-CVE-2020-8167.