Em resumo
- CVE-2021-22881 é uma vulnerabilidade MÉDIO (CVSS 6.1) que afeta actionpack, rails (rubyonrails).
- Chance de exploração nos próximos 30 dias (EPSS): 87.3%, maior que 99.8% das vulnerabilidades.
- Correção: atualize para 6.0.3.5, 6.1.2.1 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| actionpack RubyGems | ≥ 6.0.0, < 6.0.3.5≥ 6.1.0, < 6.1.2.1
| 6.0.3.56.1.2.1
|
| rails | ≥ 6.0.0, < 6.0.3.5≥ 6.1.0, < 6.1.2.1
| 6.0.3.56.1.2.1
|
Description
The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an 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.
NVD description
The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an 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. Impacted applications will have allowed hosts with a leading dot. When an allowed host contains a leading dot, a specially crafted `Host` header can be used to redirect to a malicious website.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free