Advisory

GHSA-8877-prq4-9xfw

Also known as: CVE-2021-22881

Summary

Actionpack Open Redirect Vulnerability

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-02 03:44 UTC
Modified
2024-02-20 05:32 UTC

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 6.0.0, fixed 6.0.3.5 (ecosystem)

Fixed versions

6.0.3.5

Fix

The export has no generic command for this ecosystem.

actionpack

RubyGems · All systems

Affected

  • introduced 6.1.0, fixed 6.1.2.1 (ecosystem)

Fixed versions

6.1.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences