CVE-2024-21510

State
Published
Severity
5.4 Medium
Published
Nov 1, 2024
Updated
Nov 18, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-807 Reliance on Untrusted Inputs in a Security Decision

Affected Products

ProductVersions
sinatran/a
  • 0.0.0 and laterAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.