Security mailing lists by PureSourceCode

CVE-2020-8166

MEDIUM 4.3CVSS 3.1

Ability to forge per-form CSRF tokens in Rails

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
2 Jul 2020
Last modified
2 Dec 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-352
Also known as
GHSA-jp5v-5gx4-jmj9
Sources
NVDJSONCVE ListJSONOSV GHSA-jp5v-5gx4-jmj9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVE List CISA-ADP CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
< 5.2.4.3 5.2.4.3
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.3.1 6.0.3.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
CVE List n/a https://github.com/rails/rails = Fixed in 5.2.4.3, 6.0.3.1
OSV RubyGems actionpack >= 5.0.0, < 5.2.4.3 5.2.4.3
OSV RubyGems actionpack >= 6.0.0, < 6.0.3.1 6.0.3.1

References

History

  • 2 Dec 2026 00:24 UTC · NVD: 1 reference added
  • 1 Dec 2026 23:34 UTC · CVE List: first stored (published 2 Jul 2020)
  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Jul 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.