CVE-2020-8166

Summary

CVECVE-2020-8166
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-07-02 19:15:12 UTC
Updated2026-04-28 16:16:05 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.3 MEDIUM from [email protected]

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

Problem Types: CWE-352 | CWE-352 Cross-Site Request Forgery (CSRF) (CWE-352)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
3.1ADPDECLARED4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

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

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Rubyonrails Rails All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Https//github.com/rails/rails affected Fixed in 5.2.4.3, 6.0.3.1 Not specified

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-4766-1 rails af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
[CVE-2020-8166] Ability to forge per-form CSRF tokens given a global CSRF token af854a3a-2127-422b-91ae-364da2661108 groups.google.com Mailing List, Patch, Third Party Advisory
HackerOne 134c704f-9b21-4f2e-91b3-4a467353bcc0 hackerone.com Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 239228 Red Hat Update for Satellite 6.9 (RHSA-2021:1313)
  • 750577 OpenSUSE Security Update for rmt-server (openSUSE-SU-2020:2000-1)
  • 750580 OpenSUSE Security Update for rmt-server (openSUSE-SU-2020:1993-1)
  • 755602 SUSE Enterprise Linux Security Update for rubygem-actionpack-5_1 (SUSE-SU-2024:0103-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report