cve.bz

CVE-2021-22881

6.1 mediumEPSS 87%

Medium (6.1). EPSS 87% chance of exploitation in the next 30 days. Fixed in actionpack 6.0.3.5, 6.1.2.1.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
87% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWE
CWE-601
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8877-prq4-9xfwRubyGemsactionpack>=6.0.0 <6.0.3.56.0.3.5
GHSA-8877-prq4-9xfwRubyGemsactionpack>=6.1.0 <6.1.2.16.1.2.1

References

Check your stackJSON