Name | CVE-2021-44528 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DSA-5372-1 |
Debian Bugs | 1001817 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rails (PTS) | buster | 2:5.2.2.1+dfsg-1+deb10u3 | fixed |
buster (security) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed | |
bullseye | 2:6.0.3.7+dfsg-2 | vulnerable | |
bullseye (security) | 2:6.0.3.7+dfsg-2+deb11u1 | fixed | |
bookworm | 2:6.1.7+dfsg-3 | fixed | |
sid | 2:6.1.7.3+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rails | source | stretch | (not affected) | |||
rails | source | buster | (not affected) | |||
rails | source | bullseye | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 | ||
rails | source | (unstable) | 2:6.1.4.6+dfsg-1 | 1001817 |
[buster] - rails <not-affected> (Vulnerable code introduced later)
[stretch] - rails <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2021/12/14/5
https://github.com/rails/rails/commit/0fccfb9a3097a9c4260c791f1a40b128517e7815 (master)
https://github.com/rails/rails/commit/aecba3c301b80e9d5a63c30ea1b287bceaf2c107 (v6.1.4.2)
https://github.com/rails/rails/commit/fd6a64fef1d0f7f40a8d4b046da882e83163299c (v6.0.4.2)
Introduced by: https://github.com/rails/rails/commit/07ec8062e605ba4e9bd153e1d264b02ac4ab8a0f (v6.0.0.beta1)