CVE-2024-21510 in Nginx products
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 use...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nginx | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-21510 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-046016-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| Published | 2024-11-01 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-807: CWE-807
Analysis AI-written, not human-reviewed
CVE-2024-21510 affects versions of the Sinatra package from 0.0.0, allowing an attacker to perform an Open Redirect Attack by manipulating the X-Forwarded-Host header.
An attacker can exploit this vulnerability by sending a request with a malicious X-Forwarded-Host header to a Sinatra application that uses this header for redirection. This can lead to users being redirected to an arbitrary URL, potentially leading to phishing attacks or other malicious activities.
Questions
What is CVE-2024-21510?
CVE-2024-21510 affects versions of the Sinatra package from 0.0.0, allowing an attacker to perform an Open Redirect Attack by manipulating the X-Forwarded-Host header.
What is the CVSS score for CVE-2024-21510?
CVE-2024-21510 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. EPSS: 0.9%.
Is CVE-2024-21510 actively exploited?
No confirmed active exploitation of CVE-2024-21510 as of 2026-09-25.
How do I remediate CVE-2024-21510?
Priority: MEDIUM.
What systems are affected by CVE-2024-21510?
CVE-2024-21510 affects Nginx.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nginx","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.