Vulnerability · Published Jan 7, 2022 · Assigned by hackerone

CVE-2021-44528

Medium 6.1

In plain English

A medium-severity open redirect in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)4.4%top 8.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei

Official description

A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "X-Forwarded-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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2021-44528
Debian:13rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2021-44528
Debian:14rails2:6.1.4.6+dfsg-1DEBIAN-CVE-2021-44528
RubyGemsactionpack6.0.4.2GHSA-qphc-hf5q-v8fc
RubyGemsactionpack6.1.4.2GHSA-qphc-hf5q-v8fc
Ubuntu:24.04:LTSrailsno fix listedUBUNTU-CVE-2021-44528
Ubuntu:25.10railsno fix listedUBUNTU-CVE-2021-44528
Ubuntu:26.04:LTSrailsno fix listedUBUNTU-CVE-2021-44528
Ubuntu:26.10railsno fix listedUBUNTU-CVE-2021-44528

Affected products (as reported)

VendorProductVersions
n/a https://github.com/rails/rails 6.1.4.2, 6.0.4.2, 7.0.0.rc2

Weakness: CWE-601

References