CVE-2024-21510
CVE-2024-21510 is a medium-severity vulnerability with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-807.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 0% (38th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-3268
- Weakness: CWE-807
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-21510?
- 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.
- How severe is CVE-2024-21510?
- CVE-2024-21510 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-21510 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (38th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2024-21510?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-21510 have an EU (EUVD) identifier?
- Yes. CVE-2024-21510 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3268.
- When was CVE-2024-21510 published?
- CVE-2024-21510 was published on 2024-11-01 and last updated on 2026-06-17.
References
- https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L319
- https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L323C1-L343C17
- https://github.com/sinatra/sinatra/pull/2010
- https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832
Other CWE-807 vulnerabilities
- CVE-2025-13926 — Critical (CVSS 9.8): An attacker could use data obtained by sniffing the network traffic to forge packets in order to make arbitrary…
- CVE-2026-32975 — Critical (CVSS 9.8): OpenClaw before 2026.3.12 contains a weak authorization vulnerability in Zalouser allowlist mode that matches mutable…
- CVE-2025-12488 — Critical (CVSS 9.8): oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability.…
- CVE-2025-12487 — Critical (CVSS 9.8): oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability.…
- CVE-2025-49827 — Critical (CVSS 9.8): Conjur provides secrets management and application identity for infrastructure. Conjur OSS versions 1.19.5 through…
- CVE-2025-1126 — Critical (CVSS 9.3): A Reliance on Untrusted Inputs in a Security Decision vulnerability has been identified in the Lexmark Print Management…