Vulnerability · Published Jun 19, 2020 · Assigned by hackerone
CVE-2020-8167
Medium 6.5
In plain English
A medium-severity cross-site request forgery in http://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.5%top 25.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8167 |
| Debian:13 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8167 |
| Debian:14 | rails | 2:5.2.4.3+dfsg-1 | DEBIAN-CVE-2020-8167 |
| RubyGems | actionview | 5.2.4.3 | GHSA-xq5j-gw7f-jgj8 |
| RubyGems | actionview | 6.0.3.1 | GHSA-xq5j-gw7f-jgj8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | http://github.com/rails/rails | Fixed in 5.2.4.3, 6.0.3.1 |
Weakness: CWE-352
References
- https://hackerone.com/reports/189878 x_refsource_MISC
- https://groups.google.com/g/rubyonrails-security/c/x9DixQDG9a0 x_refsource_MISC
- DSA-4766 vendor-advisory, x_refsource_DEBIAN