CVE-2021-22881

CVSS V2 Medium 5.8 CVSS V3 Medium 6.1
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.
Overview
  • CVE ID
  • CVE-2021-22881
  • Assigner
  • support@hackerone.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-02-11T18:15:17
  • Last Modified Date
  • 2022-01-04T16:38:12
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 1 OR 6.0.0 6.0.3.5
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 1 OR 6.1.0 6.1.2.1
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 5.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 6.1
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 2.7
History
Created Old Value New Value Data Type Notes
2022-05-10 06:39:11 Added to TrackCVE
2022-12-05 21:57:14 cve-assignments@hackerone.com support@hackerone.com CVE Assigner updated
2022-12-05 21:57:14 2021-02-11T18:15Z 2021-02-11T18:15:17 CVE Published Date updated
2022-12-05 21:57:15 2022-01-04T16:38:12 CVE Modified Date updated
2022-12-05 21:57:15 Analyzed Vulnerability Status updated