Bug 2217785 (CVE-2023-28362) - CVE-2023-28362 actionpack: Possible XSS via User Supplied Values to redirect_to
Summary: CVE-2023-28362 actionpack: Possible XSS via User Supplied Values to redirect_to
Keywords:
Status: NEW
Alias: CVE-2023-28362
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2217787 2217788 2217789 2222764 2222765
Blocks: 2217790
TreeView+ depends on / blocked
 
Reported: 2023-06-27 05:37 UTC by Avinash Hanwate
Modified: 2023-12-14 16:26 UTC (History)
15 users (show)

Fixed In Version: rubygem-actionpack 6.1.7.4, rubygem-actionpack 7.0.5.1
Doc Type: If docs needed, set a value
Doc Text:
A Cross-site Scripting (XSS) vulnerability was found in Actionpack due to improper sanitization of user-supplied values. This allows provided values to contain characters that are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned location header.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7851 0 None None None 2023-12-14 16:26:37 UTC

Description Avinash Hanwate 2023-06-27 05:37:49 UTC
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

ref: https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml

Comment 3 ybuenos 2023-07-13 16:29:35 UTC
Created perl-HTTP-Headers-ActionPack tracking bugs for this issue:

Affects: fedora-all [bug 2222764]


Created rubygem-actionpack tracking bugs for this issue:

Affects: fedora-all [bug 2222765]

Comment 4 errata-xmlrpc 2023-12-14 16:26:35 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2023:7851 https://access.redhat.com/errata/RHSA-2023:7851


Note You need to log in before you can comment on or make changes to this bug.