Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-22903 Details

Description

The actionpack ruby gem before 6.1.3.2 suffers from a possible open redirect vulnerability. Specially crafted Host headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website. This is similar to CVE-2021-22881. Strings in config.hosts that do not have a leading dot are converted to regular expressions without proper escaping. This causes, for example, `config.hosts << "sub.example.com"` to permit a request with a Host header value of `sub-example.com`.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]

Affected Products

ProductVersions
rubyonrails rails
>= 6.1.1, < 6.1.3.2
6.1.0 rc2

CPE

  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
  • cpe:2.3:a:rubyonrails:rails:6.1.0:rc2:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-22903
NVD Published Date:
Jun 11, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-22903 Details - Not Deferred