Skip to content

Update sinatra to fix the current cve in version 3.2.0 #736

@celinefb

Description

@celinefb

there is a CVE opened for Sinatra on version 3.2.0 and the non vulnerable version is 4.1.0

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.

We use split in our code and it prevents us from updating Sinatra to 4.1.0

Please release a new version with updated dependencies.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions