CVE-2024-21510

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21510
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21510.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21510
Aliases
Downstream
Related
Published
2024-11-01T05:15:05Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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.

References

Affected packages