Skip to content
Sign in
CVE-2021-22881Not scoredCWE-601

CVE-2021-22881: Ruby on Rails - Open Redirect via Host Header Injection

Vendor not named in the CVE record · https://github.com/rails/rails

Fixed in 6.1.2.1 · Affected: https://github.com/rails/rails before 6.1.2.1 · Exploitation: check available, not yet exploited

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

87.3%probability of exploitation in the next 30 days
99th percentile
050100

Higher than 99% of scored CVEs

Not scored yet. The CVE record carries no CVSS score.

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • https://github.com/rails/railsFixed in 6.1.2.1, 6.0.3.5

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
CISA KEV
Not listed
Public check
Ruby on Rails - Open Redirect via Host Header Injection · nuclei template in projectdiscovery/nuclei-templates
Published
February 2021

CoverageNo articles yet

No CyberSIXT article names CVE-2021-22881 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in