CVE & CISA-KEV Catalog

CVE-2021-22881

MEDIUMEPSS 100th pctl
6.1
CVSS v3
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.

How to fix

Remediation Available
railsDebian
Fixed in:2:6.0.3.5+dfsg-1CVE-2021-22881
Fixed in:2:6.0.3.5+dfsg-1CVE-2021-22881
Fixed in:2:6.0.3.5+dfsg-1CVE-2021-22881
Fixed in:2:6.0.3.5+dfsg-1CVE-2021-22881

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

87.30%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

References

Related Vulnerabilities

Other CWE-601 (Open Redirect) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-4123High7.698%-Fix
CVE-2018-11784Medium4.394%-Fix
CVE-2022-45402Medium6.182%-Fix
CVE-2017-1000117High8.878%-Fix
CVE-2019-10098Medium6.174%-Fix
CVE-2020-8143Medium6.170%-Fix
Embed a live status badge for CVE-2021-22881
CVE-2021-22881 severity badge

Markdown

[![CVE-2021-22881](https://tridentstack.com/cve/badge/CVE-2021-22881.svg)](https://tridentstack.com/cve/CVE-2021-22881)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-22881"><img src="https://tridentstack.com/cve/badge/CVE-2021-22881.svg" alt="CVE-2021-22881"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.