Skip to content
Noroxi
CVE-2020-8166· NVD / CVE Program· CNA hackerone

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 suc

Noroxi assessment

Priority: Monitor (action score 18/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.6% (FIRST EPSS); higher than 76.5% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: rails (Debian:10) 2:5.2.2.1+dfsg-1+deb10u2; rails (Debian:12) 2:5.2.4.3+dfsg-1; rmt-server (openSUSE:Leap 15.1) 2.6.5-lp151.2.18.2.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to rails (Debian:10) 2:5.2.2.1+dfsg-1+deb10u2; rails (Debian:12) 2:5.2.4.3+dfsg-1; rmt-server (openSUSE:Leap 15.1) 2.6.5-lp151.2.18.2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 4.3 · v3.1—No exploit Fix available
Published
Jul 2, 2020
Updated
Jun 16, 2026
EPSS
1.6% · 76th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.6%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-8166

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
rubyonrailsrails
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • rubyonrails railsbefore 5.2.4.3
  • rubyonrails rails6.0.0 and later · before 6.0.3.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a https://github.com/rails/rails

    • Fixed in 5.2.4.3, 6.0.3.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10railsbefore 2:5.2.2.1+dfsg-1+deb10u22:5.2.2.1+dfsg-1+deb10u2
Debian:12railsbefore 2:5.2.4.3+dfsg-12:5.2.4.3+dfsg-1
openSUSE:Leap 15.1rmt-serverbefore 2.6.5-lp151.2.18.22.6.5-lp151.2.18.2
openSUSE:Leap 15.2rmt-serverbefore 2.6.5-lp152.2.3.12.6.5-lp152.2.3.1
openSUSE:Tumbleweedrmt-serverbefore 2.6.13-1.12.6.13-1.1
openSUSE:Tumbleweedrubygem-actionpack-6.0before 6.0.4.4-1.16.0.4.4-1.1
Red Hat:satellite_capsule:6.9::el7ansible-collection-redhat-satellitebefore 0:2.0.1-1.el7sat0:2.0.1-1.el7sat
Red Hat:satellite_capsule:6.9::el7ansible-runnerbefore 0:1.4.6-1.el7ar0:1.4.6-1.el7ar
Red Hat:satellite_capsule:6.9::el7ansiblerole-foreman_scap_clientbefore 0:0.1.0-1.el7sat0:0.1.0-1.el7sat
Red Hat:satellite_capsule:6.9::el7ansiblerole-insights-clientbefore 0:1.7.1-1.el7sat0:1.7.1-1.el7sat
Red Hat:satellite_capsule:6.9::el7ansiblerole-satellite-receptor-installerbefore 0:0.6.13-1.el7sat0:0.6.13-1.el7sat
Red Hat:satellite_capsule:6.9::el7crane-selinuxbefore 0:3.5.1-1.el7sat0:3.5.1-1.el7sat
Red Hat:satellite_capsule:6.9::el7createrepo_cbefore 0:0.17.1-1.el7pc0:0.17.1-1.el7pc
Red Hat:satellite_capsule:6.9::el7createrepo_c-debuginfobefore 0:0.17.1-1.el7pc0:0.17.1-1.el7pc
Red Hat:satellite_capsule:6.9::el7createrepo_c-libsbefore 0:0.17.1-1.el7pc0:0.17.1-1.el7pc
Red Hat:satellite_capsule:6.9::el7foremanbefore 0:2.3.1.20-1.el7sat0:2.3.1.20-1.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-bootloaders-redhatbefore 0:202005201200-1.el7sat0:202005201200-1.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-bootloaders-redhat-tftpbootbefore 0:202005201200-1.el7sat0:202005201200-1.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-debugbefore 0:2.3.1.20-1.el7sat0:2.3.1.20-1.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-discovery-imagebefore 1:3.7.4-2.el7sat1:3.7.4-2.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-discovery-image-servicebefore 0:1.0.0-4.el7sat0:1.0.0-4.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-discovery-image-service-tuibefore 0:1.0.0-4.el7sat0:1.0.0-4.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-installerbefore 1:2.3.1.10-1.el7sat1:2.3.1.10-1.el7sat
Red Hat:satellite_capsule:6.9::el7foreman-installer-katellobefore 1:2.3.1.10-1.el7sat1:2.3.1.10-1.el7sat

+96

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, anKEV
    89Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week

Published before and after this one in the same product

  • ← EarlierCVE-2020-8167Jun 19, 2020 · A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.
    26Monitor
  • ← EarlierCVE-2020-8163Jul 2, 2020 · The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument o
    60This week
  • Later →CVE-2020-8185Jul 2, 2020 · A denial of service vulnerability exists in Rails <6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app runni
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2:5.2.4.3+dfsg-1 · Debian:12Package registry (OSV)
opensuse:rmt-server2.6.5-lp152.2.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:rubygem-actionpack-5_15.1.4-150000.3.29.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:rubygem-actionpack-6.06.0.4.4-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:ansible-collection-redhat-satellite0:2.0.1-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:ansible-runner0:1.4.6-1.el7ar · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:ansiblerole-foreman_scap_client0:0.1.0-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:ansiblerole-insights-client0:1.7.1-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:ansiblerole-satellite-receptor-installer0:0.6.13-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:crane-selinux0:3.5.1-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:createrepo_c0:0.17.1-1.el7pc · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:createrepo_c-debuginfo0:0.17.1-1.el7pc · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:createrepo_c-libs0:0.17.1-1.el7pc · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:foreman0:2.3.1.20-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:foreman-bootloaders-redhat0:202005201200-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
red hat:foreman-bootloaders-redhat-tftpboot0:202005201200-1.el7sat · Red Hat:satellite_capsule:6.9::el7Package registry (OSV)
RubyGems:actionpack5.2.4.3Package registry (OSV)
RubyGems:actionpack6.0.3.1Package registry (OSV)
suse:rmt-server2.6.5-3.3.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP2Package registry (OSV)
suse:rubygem-actionpack-5_15.1.4-150000.3.29.1 · SUSE:Linux Enterprise High Availability Extension 15 SP1Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

nvd-primary

Root cause

State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
app.use(session({ cookie: { httpOnly: true } }));app.post("/account/address", updateAddress);

Fixed

ts
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));app.post("/account/address", csrfProtection, updateAddress);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Show all references (1 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records