CSRF in Rubyonrails Rails

CVE-2020-8166

A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.004 (63.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-8166?
CVE-2020-8166 is a medium-severity vulnerability in Rubyonrails Rails, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2020-07-02.
How severe is CVE-2020-8166?
Medium severity. CVSS v3 base score is 4.3 out of 10.
Is CVE-2020-8166 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.