CVE-2024-21510: gitlab-cng-18.2
Vulnerability summary
CVE-2024-21510 is a medium (CVSS 5.4) vulnerability in gitlab-cng-18.2. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 5Timeline
- 01-11-2024PublishedVulnerability first disclosed.
- 18-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
+0.03 pp
From 0.47% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard17 products
- gitlab-cng-18.2All versions (No fix recorded)
- gitlab-cng-18.9< 18.9.1-r0
- gitlab-exporter-18.10All versions (No fix recorded)
- gitlab-exporter-18.11< 18.11.5-r2
- gitlab-exporter-18.6All versions (No fix recorded)
Wolfi4 products
- gitlab-cng-18.2All versions (No fix recorded)
- logstash-8-with-output-opensearch< 8.16.0-r2
- ruby3.2-sinatra< 4.1.0-r0
- ruby3.3-sinatra< 4.1.0-r0
Redhat2 products
- pcs< 0:0.10.18-2.el8_10.3
- pcs-snmp< 0:0.10.18-2.el8_10.3
Debian1 product
- ruby-sinatraAll versions (No fix recorded) | < 4.1.1-2
RubyGems1 product
- sinatra< 4.1.0
Ubuntu1 product
- ruby-sinatraAll versions (No fix recorded)
6 vendors · 26 products
References
21 linksShow all 21 references
- github.com/sinatra/sinatraPACKAGE