CVE-2021-22881Rubyonrails Rails
Media 6.1 Sin autenticaciónEPSS alto
Seguir: esta CVE · Rubyonrails · Rubyonrails Rails Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 6.1
- EPSS
- 87.3% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- Publicada
- 11 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-601
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rails.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | actionpack |
≥ 6.0.0 < 6.0.3.5 |
6.0.3.5 |
gem "actionpack", ">= 6.0.3.5" |
| RubyGems | actionpack |
≥ 6.1.0 < 6.1.2.1 |
6.1.2.1 |
gem "actionpack", ">= 6.1.2.1" |
Según OSV / GitHub Advisories (GHSA-8877-prq4-9xfw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rubyonrails | rails | ≥ 6.0.0 < 6.0.3.5 |
| rubyonrails | rails | ≥ 6.1.0 < 6.1.2.1 |
| fedoraproject | fedora | 33 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.openwall.com Mailing List Mitigation Third Party Advisory
- www.openwall.com Mailing List Mitigation Third Party Advisory
- www.openwall.com Exploit Mailing List Patch
- benjamin-bouchet.com Patch Third Party Advisory
- discuss.rubyonrails.org Mitigation Patch Vendor Advisory
- hackerone.com Exploit Patch Third Party Advisory
- lists.fedoraproject.org