CVE-2024-21510 Affecting gitlab-cng-18.2 package, versions <18.2.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.12% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITLABCNG182-10881433
  • published23 Jul 2025
  • disclosed1 Nov 2024

Introduced: 1 Nov 2024

CVE-2024-21510  (opens in a new tab)

How to fix?

Upgrade Chainguard gitlab-cng-18.2 to version 18.2.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitlab-cng-18.2 package and not the gitlab-cng-18.2 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Base Scores

version 3.1