6.1

CVE-2021-22942: rubyonrails rails URL Redirection to Untrusted Site

Modified
AliasesUBUNTU-CVE-2021-22942DEBIAN-CVE-2021-22942GHSA-2rqw-v265-jf8c
Published 18-10-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-22942 is a medium (CVSS 6.1) URL Redirection to Untrusted Site vulnerability in rubyonrails rails. EPSS estimates a 1.70% chance of exploitation in the next 30 days, higher than 77.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
1.70%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 18-10-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

A possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers to redirect users to a malicious website.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.70%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.70% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • rails< 2:6.1.4.1+dfsg-3
RubyGems1 product
  • actionpack≥ 6.0.0, < 6.0.4.1 | ≥ 6.1.0, < 6.1.4.1
Rubyonrails1 product
  • rails≥ 6.0.0, < 6.0.4.1 | ≥ 6.1.0, < 6.1.4.1
Ubuntu1 product
  • railsAll versions (No fix recorded)

4 vendors · 4 products

References

16 links
Show all 16 references