En resumen
- CVE-2021-22881 es una vulnerabilidad MEDIO (CVSS 6.1) que afecta a actionpack, rails (rubyonrails).
- Probabilidad de explotación en los próximos 30 días (EPSS): 87.3%, mayor que el 99.8% de las vulnerabilidades.
- Solución: actualizar a 6.0.3.5, 6.1.2.1 o 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