CVE-2020-8166
medium
CVSS v3
4.3
CVSS v2
4.3
VIR risk
4.3
Description
Ability to forge per-form CSRF tokens in Rails
Predictions
Exploit likelihood
53%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2020-8166
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2020-8166.html
Vendor advisory: support@hackerone.com — https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 10.0 | affected | |
| debian | bookworm | fixed | 2:5.2.4.3+dfsg-1 |
| debian | bullseye | fixed | 2:5.2.4.3+dfsg-1 |
| debian | forky | fixed | 2:5.2.4.3+dfsg-1 |
| debian | sid | fixed | 2:5.2.4.3+dfsg-1 |
| debian | trixie | fixed | 2:5.2.4.3+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | <~> 5.2.4, >= 5.2.4.3 | ~> 5.2.4, >= 5.2.4.3 |
| RubyGems | actionpack | >=5.0.0,<5.2.4.3 | 5.2.4.3 |
| RubyGems | actionpack | >=6.0.0,<6.0.3.1 | 6.0.3.1 |
| RUBYGEMS | actionpack | >= 6.0.0, <= 6.0.3 | 6.0.3.1 |
| RUBYGEMS | actionpack | >= 5.0.0, <= 5.2.4.2 | 5.2.4.3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubyonrails | rails | {"endExcluding":"5.2.4.3"} | 5.2.4.3 |
References
- https://groups.google.com/forum/#!topic/rubyonrails-security/NOjKiGeXUgw
- https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw
- https://hackerone.com/reports/732415
- https://www.debian.org/security/2020/dsa-4766
- https://www.suse.com/security/cve/CVE-2020-8166.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-8166
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2020-8166.yml
- https://security-tracker.debian.org/tracker/CVE-2020-8166
- https://github.com/advisories/GHSA-jp5v-5gx4-jmj9
CWEs
CWE-352
Verify integrity in audit chain (admin only). AS-IS.