Live threats

All CVEs / Rubyonrails

CVE-2020-8167Rubyonrails Rails

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Jun 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems actionview ≥ 5.0.0 < 5.2.4.3 5.2.4.3 gem "actionview", ">= 5.2.4.3"
RubyGems actionview ≥ 6.0.0 < 6.0.3.1 6.0.3.1 gem "actionview", ">= 6.0.3.1"

Per OSV / GitHub Advisories (GHSA-xq5j-gw7f-jgj8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails< 5.2.4.3
rubyonrailsrails≥ 6.0.0 < 6.0.3.1
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.