6.5med

CVE-2020-8167

CSRF Vulnerability in rails-ujs

Also known as GHSA-xq5j-gw7f-jgj8

Published 6 y ago · modified 4 mo ago · JSON

CVSS
6.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.5%
percentile 74%
Public exploits
0
none known

Summary

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

Exploit prediction (EPSS)

1.49% probability of exploitation in the next 30 days, higher than 74% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.16.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.16.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactionview
>=5.0.0, <5.2.4.3
>=6.0.0, <6.0.3.1
5.2.4.3
6.0.3.1

Affected products

  • n/a http://github.com/rails/rails

Classification

Weakness
Technology feeds
Ruby on Rails (RSS, critical only)

References

  • hackerone.com /reports/189878 · x_refsource_MISC, x_transferred
  • groups.google.com /g/rubyonrails-security/c/x9DixQDG9a0 · x_refsource_MISC, x_transferred
  • debian.org /security/2020/dsa-4766 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2020-8167 · advisory
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8167.yml · web
  • groups.google.com /forum/#!topic/rubyonrails-security/x9DixQDG9a0 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.