Security mailing lists by PureSourceCode

CVE-2021-22881

MEDIUM 6.1CVSS 3.1

Actionpack Open Redirect Vulnerability

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.

Published
11 Feb 2021
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-601
Also known as
GHSA-8877-prq4-9xfw
Sources
NVDJSONOSV GHSA-8877-prq4-9xfwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.3.5 6.0.3.5
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 6.1.0, < 6.1.2.1 6.1.2.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
OSV RubyGems actionpack >= 6.0.0, < 6.0.3.5 6.0.3.5
OSV RubyGems actionpack >= 6.1.0, < 6.1.2.1 6.1.2.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Feb 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.