Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944713 - <dev-ruby/sinatra-4.1.1: Reliance on Untrusted Inputs in a Security Decision
Summary: <dev-ruby/sinatra-4.1.1: Reliance on Untrusted Inputs in a Security Decision
Status: CONFIRMED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://github.com/advisories/GHSA-hx...
Whiteboard: B3 [cleanup glsa?]
Keywords:
Depends on: 944946
Blocks:
  Show dependency tree
 
Reported: 2024-11-23 10:30 UTC by Hans de Graaff
Modified: 2024-11-29 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2024-11-23 10:30:12 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 1 Larry the Git Cow gentoo-dev 2024-11-23 10:31:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470077f1887bf6a5f8822809cab501efc87d3ac5

commit 470077f1887bf6a5f8822809cab501efc87d3ac5
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-11-23 10:30:47 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-11-23 10:31:17 +0000

    dev-ruby/sinatra: add 4.1.1
    
    Bug: https://bugs.gentoo.org/944713
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/sinatra/Manifest             |  1 +
 dev-ruby/sinatra/sinatra-4.1.1.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)