Loading HuntDB...

CVE-2021-22881

UNKNOWN
Published 2021-02-11T16:12:34
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2021-22881. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

Actionpack Open Redirect Vulnerability

GHSA-8877-prq4-9xfw

Advisory Details

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.

Affected Packages

RubyGems actionpack
ECOSYSTEM: ≥6.0.0 <6.0.3.5
RubyGems actionpack
ECOSYSTEM: ≥6.1.0 <6.1.2.1

CVSS Scoring

CVSS Score

5.0

CVSS Vector

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

Advisory provided by GitHub Security Advisory Database. Published: March 2, 2021, Modified: July 3, 2023

References

HackerOne Reports

Published: 2021-02-11T16:12:34
Last Modified: 2024-08-03T18:58:24.786Z
Copied to clipboard!