VDB

CVE-2020-8167

CVE-2020-8167 PUBLISHED CVSS 6.5 MEDIUM

CSRF Vulnerability in rails-ujs

Record from NVD · Published May 18, 2020

rails is fixed in 6.0.3.1 and 5.2.4.3 (RubyGems)

A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.

EPSS 1.48% · 74.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
actionviewRubyGems6.0.3.1, 6.0.3, 5.2.4.3
railsRubyGems6.0.3.1, 5.2.4.3
railsrubyonrails6.0.3.1, 5.2.4.3

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS Score
1.48%
74.6th percentile

Affected products

VendorProductVersions
debiandebian_linux10.0
rubyonrailsrails0, 6.0.0

Timeline

  • May 18, 2020 CVE Published
  • May 26, 2020 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8167
vulnetix vdb fixes CVE-2020-8167

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8167/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›