CVE-2021-22881

rubygem-actionpack: open redirect vulnerability may lead to confidentiality and integrity compromise

Published Feb 11, 2021 CVSS 3.1 · 6.1 Medium EPSS 87.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0631 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.
Github GHSA Github GHSA GHSA-8877-prq4-9xfw Actionpack Open Redirect Vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 3, 2024, 6:58 PM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Feb 11, 2021, 6:15 PM
Modified
Jun 17, 2026, 3:37 AM
Severity
Moderate
Public date
Feb 11, 2021, 12:00 AM