Bug 2323117 (CVE-2024-21510) - CVE-2024-21510 sinatra: Open Redirect Vulnerability in Sinatra via X-Forwarded-Host Header
Summary: CVE-2024-21510 sinatra: Open Redirect Vulnerability in Sinatra via X-Forwarde...
Keywords:
Status: NEW
Alias: CVE-2024-21510
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2326643 2326642 2326644
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-01 06:01 UTC by OSIDB Bzimport
Modified: 2025-06-12 12:19 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github advisories/GHSA-hxx2-7vcw-mqr3 0 None None None 2025-06-12 12:19:24 UTC
Red Hat Product Errata RHSA-2024:10987 0 None None None 2024-12-12 09:58:55 UTC

Description OSIDB Bzimport 2024-11-01 06:01:19 UTC
Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.

Comment 3 errata-xmlrpc 2024-12-12 09:58:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:10987 https://access.redhat.com/errata/RHSA-2024:10987

Comment 4 Vít Ondruch 2025-06-12 12:19:24 UTC
Affects Sinatra < 4.1.0


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