Bug 2164793 (CVE-2023-22797) - CVE-2023-22797 rubygem-actionpack: Open Redirect Vulnerability in Action Controller
Summary: CVE-2023-22797 rubygem-actionpack: Open Redirect Vulnerability in Action Cont...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-22797
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2164802
Blocks: 2162605
TreeView+ depends on / blocked
 
Reported: 2023-01-26 14:14 UTC by ybuenos
Modified: 2023-03-15 10:56 UTC (History)
12 users (show)

Fixed In Version: rubygem-actionpack 7.0.4.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-29 01:52:11 UTC
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2023-01-26 14:14:20 UTC
There is a possible open redirect when using the redirect_to helper with untrusted user input. 

  Vulnerable code will look like this:
  ```
  redirect_to(params[:some_param])
  ```

Rails 7.0 introduced protection against open redirects from calling redirect_to with untrusted user input. In prior versions the developer was fully responsible for only providing trusted input. However the check introduced could be bypassed by a carefully crafted URL.

Comment 1 ybuenos 2023-01-26 14:25:40 UTC
Created rubygem-actionpack tracking bugs for this issue:

Affects: fedora-all [bug 2164802]

Comment 2 Product Security DevOps Team 2023-01-29 01:52:09 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-22797


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