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 by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | actionview | >=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
- CWE-352 Cross-Site Request Forgery
- 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
- CVE List: CVE-2020-8167
- GitHub Advisory: GHSA-xq5j-gw7f-jgj8
- NVD: CVE-2020-8167
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.