CVE-2020-8166
published medium CVSS 3.1 · 4.3rubygem-actionpack: ability to forge per-form CSRF tokens given a global CSRF token
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/railsFixed in 5.2.4.3, 6.0.3.1 | Affected | Not stated | hackerone |
| Debian | buster | rails | Advisory build | 2:5.2.2.1+dfsg-1+deb10u2 | DSA-4766-1 |
| SUSE / openSUSE | SLE-15 | rmt-serveraarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-servers390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15 | rmt-server-configs390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serveraarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-servers390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configs390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serveraarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-servers390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configs390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-serverx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-serverx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1aarch64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1ppc64le | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1s390x | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | ruby2.5-rubygem-actionpack-doc-5_1x86_64 | Advisory build | 5.1.4-150000.3.29.1 | SUSE-SU-2024:0103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-serveraarch64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-serverppc64le | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-servers390x | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-serverx86_64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-configaarch64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-configppc64le | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-configs390x | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-configx86_64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-pubcloudaarch64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-pubcloudppc64le | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-pubclouds390x | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rmt-server-pubcloudx86_64 | Advisory build | 2.6.13-1.1 | OPENSUSE-SU-2024:10589-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2aarch64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2ppc64le | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2s390x | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-5.2x86_64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0ppc64le | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0s390x | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby2.7-rubygem-actionpack-6.0x86_64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2aarch64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2ppc64le | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2s390x | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-5.2x86_64 | Advisory build | 5.2.6-1.2 | OPENSUSE-SU-2024:11317-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.0-rubygem-actionpack-6.0aarch64 | Advisory build | 6.0.4-1.2 | OPENSUSE-SU-2024:11318-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/rails/rails | Fixed in 5.2.4.3, 6.0.3.1 (affected) | hackerone · cna |
Weaknesses
1- CWE-352 Cross-Site Request Forgery (CSRF) (CWE-352)
References
3- https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw
- https://hackerone.com/reports/732415
- DSA-4766 https://www.debian.org/security/2020/dsa-4766
Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a3bfbcf7deef705c8d4fa0576ea44db56fb0c9f437689574745c8d95daebb35
- Ingested
- 23 Sep 2026, 07:51:32 UTC
- Source record
- Official CVE record