Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2020-8166Published 7/2/2020

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.

Vendor advisory
CVSS 3.14.3Medium

Overview

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.

Published
7/2/2020
Last modified
12/2/2026
CVE assigner
hackerone
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
rails
rubyonrails
< 5.2.4.3

Verify advisory

Source
rails
rubyonrails
≥ 6.0.0, < 6.0.3.1

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
https://github.com/rails/rails
n/a
Fixed in 5.2.4.3, 6.0.3.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

debian.org/security/2020/dsa-4766vendor-advisory · x_refsource_DEBIAN
debian.org/security/2020/dsa-4766vendor-advisory · x_refsource_DEBIAN · x_transferred
groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgwMailing List · Patch · Third Party Advisory

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

4.3 · Medium CVSS 3.1

Scored by CISA-ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

4.3 · Medium CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

4.3 · Medium CVSS 3.1

Scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

4.3 · Medium CVSS 2.0

Scored by nvd@nist.gov

AV:N/AC:M/Au:N/C:N/I:P/A:N

Related weaknesses

Sources & references

groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw
x_refsource_MISC
x_transferred
Mailing List
Patch
Third Party Advisory
hackerone.com/reports/732415
x_refsource_MISC
x_transferred
exploit
Exploit
Third Party Advisory
debian.org/security/2020/dsa-4766
vendor-advisory
x_refsource_DEBIAN
x_transferred
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.