Upstream information

CVE-2021-22903 at MITRE

Description

The actionpack ruby gem before 6.1.3.2 suffers from a possible 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. This is similar to CVE-2021-22881. Strings in config.hosts that do not have a leading dot are converted to regular expressions without proper escaping. This causes, for example, `config.hosts << "sub.example.com"` to permit a request with a Host header value of `sub-example.com`.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 6.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact None
Integrity Impact High
Availability Impact None
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1185772 [RESOLVED / FIXED]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise High Availability Extension 15 rubygem-actionpack-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-actionpack-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-actionpack-5_1 Not affected
SUSE Linux Enterprise Server for SAP All-in-One 11 SP4 rubygem-actionpack-3_2 Not affected
SUSE OpenStack Cloud 7 rubygem-actionpack-4_2 Not affected
SUSE OpenStack Cloud Crowbar 8 rubygem-actionpack-4_2 Not affected
SUSE OpenStack Cloud Crowbar 9 rubygem-actionpack-4_2 Not affected
WebYaST for SLE-11 rubygem-actionpack-3_2 Not affected