CVE-2024-9387
NoneCVSS
—
EPSS
0.4%
Published
Dec 12, 2024
CISA due date
—
Cloudanix analysis
A bug in the software could let attackers trick users into visiting fake sites instead of the intended ones, which might lead to stolen login details or other harm.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Other
- Component
- Application
- Class
- Open Redirect
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits manipulation of the releases API endpoint to perform an unauthorized open redirect to an arbitrary external URL.
Why it matters to the business
Attackers can phish users or send them to malicious sites, risking credential theft, data exposure, and erosion of platform trust; widespread use of the affected software increases potential blast radius.
How an attack unfolds
An attacker locates a vulnerable releases API endpoint, crafts a request containing a malicious redirect target, and lures a victim into accessing the URL, resulting in the victim being sent to an attacker-controlled destination.
How to fix it
Upgrade GitLab CE/EE to 17.4.6, 17.5.4, or 17.6.2 (commit 25a55583bbcf724ad625848d48a529467e7c7097) or later; apply linux-hwe package updates to 4.8.0-39.42~16.04.1 where applicable.
How to confirm the fix worked
Confirm the running version meets or exceeds the fixed releases, then test the releases API endpoint to verify that external redirects are blocked or properly sanitized.
Typical attack path
- Scan or enumerate to identify a vulnerable GitLab instance exposing the releases API endpoint
- Craft a request URL that includes a malicious external redirect parameter
- Deliver the crafted link via phishing or other social engineering
- Victim browser follows the redirect to the attacker site
How to detect it
Inspect web server and application logs for requests to the releases API endpoint that contain external redirect targets or unusual parameters; correlate with user reports of unexpected redirects.
What your security team should do
- Apply the listed GitLab upgrades immediately on all affected instances
- Review and tighten redirect validation controls in API endpoints
- Monitor web logs for anomalous requests to the releases API
The record
An issue was discovered in GitLab CE/EE affecting all versions from 11.8 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. An attacker could potentially perform an open redirect against a given releases API endpoint.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | gitlab | 11.8.0 | 17.4.6 |
| Chainguard | gitlab-base-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-cng-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-container-registry-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-elasticsearch-indexer-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-logger-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-shell-fips-17.6 | 0 | 17.6.5-r0 |
| Chainguard | gitlab-toolbox-fips-17.6 | 0 | 17.6.5-r0 |
| Ubuntu:16.04:LTS | gitlab | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gitlab | 0 | No fix |
Related vulnerabilities
- CVE-2026-1751 A vulnerability has been discovered in GitLab CE/EE affecting all versions starting with… Also affects gitlab
- CVE-2025-3950 Exposure of Private Personal Information to an Unauthorized Actor in GitLab Also affects gitlab
- CVE-2025-9222 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-10569 Allocation of Resources Without Limits or Throttling in GitLab Also affects gitlab
- CVE-2025-11246 Insufficient Granularity of Access Control in GitLab Also affects gitlab
- CVE-2025-13772 Missing Authorization in GitLab Also affects gitlab
- CVE-2025-13761 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-13781 Missing Authorization in GitLab Also affects gitlab