CVE-2020-8166
medium
CVSS v3
4.3
CVSS v4 NEW
โ
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
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 6 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2:5.2.4.3+dfsg-1 |
| sid | Fixed | 2:5.2.4.3+dfsg-1 |
| forky | Fixed | 2:5.2.4.3+dfsg-1 |
| bullseye | Fixed | 2:5.2.4.3+dfsg-1 |
| bookworm | Fixed | 2:5.2.4.3+dfsg-1 |
| 10.0 | Affected | โ |
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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.