CVE-2020-8166
Ability to forge per-form CSRF tokens in Rails
4.3
MEDIUM
CVSS 3.1
EPSS 0.44%
Description
A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.
How to fix CVE-2020-8166
To remediate CVE-2020-8166, upgrade the affected package to a fixed version below.
- Debian/rails—upgrade to 2:5.2.4.3+dfsg-1 or later
- —upgrade to 5.2.4.3 or later
Is CVE-2020-8166 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2:5.2.4.3+dfsg-1
- >= 5.0.0, < 5.2.4.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |