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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2021-44528 |
| Debian:13 | rails | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2021-44528 |
| Debian:14 | rails | 2:6.1.4.6+dfsg-1 | DEBIAN-CVE-2021-44528 |
| RubyGems | actionpack | 6.0.4.2 | GHSA-qphc-hf5q-v8fc |
| RubyGems | actionpack | 6.1.4.2 | GHSA-qphc-hf5q-v8fc |
| Ubuntu:24.04:LTS | rails | no fix listed | UBUNTU-CVE-2021-44528 |
| Ubuntu:25.10 | rails | no fix listed | UBUNTU-CVE-2021-44528 |
| Ubuntu:26.04:LTS | rails | no fix listed | UBUNTU-CVE-2021-44528 |
| Ubuntu:26.10 | rails | no fix listed | UBUNTU-CVE-2021-44528 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | 6.1.4.2, 6.0.4.2, 7.0.0.rc2 |
Weakness: CWE-601