Cloudanix VulnDB

CVE-2024-5318

Medium · 4.0

CVSS

4.0

EPSS

0.4%

Published

May 24, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Low-level users inside a private project could see lists of software components that should have stayed hidden from them.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Authorization bypass allowing guest users to retrieve dependency lists of private projects by accessing job artifacts.

Why it matters to the business

Organizations using GitLab may leak sensitive dependency information from private projects to unauthorized low-privilege users, increasing risk of supply-chain reconnaissance without requiring elevated access.

How an attack unfolds

An attacker with guest access to a private project requests or downloads job artifacts that contain dependency lists, bypassing intended authorization controls that should restrict such data to higher-privileged roles.

How to fix it

Upgrade GitLab CE/EE to 16.10.6, 16.11.3, or 17.0.1 or later; the fix is included in commit d134e2329e12dc93e72a8c3ed2744f75ef7a7e81.

How to confirm the fix worked

Confirm the running GitLab version is at or above the fixed releases, then attempt to access dependency lists as a guest user to verify the data is no longer returned.

Typical attack path

  1. Obtain guest membership in a private GitLab project
  2. Trigger or locate existing CI/CD jobs that produce artifacts
  3. Access the job artifacts endpoint or download mechanism
  4. Extract and view the dependency list data intended to remain private

How to detect it

Review GitLab access logs and artifact download events for guest-role users retrieving dependency-related artifacts; correlate with project membership changes.

What your security team should do

  • Prioritize upgrade of all GitLab instances to the fixed versions within standard change windows
  • Audit guest user access to private projects and limit artifact visibility where possible
  • Review CI/CD job artifact contents to ensure no unnecessary sensitive data is stored

The record

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.11 prior to 16.10.6, starting from 16.11 prior to 16.11.3, and starting from 17.0 prior to 17.0.1. A Guest user can view dependency lists of private projects through job artifacts.

Affected packages

Ecosystem Package Introduced Fixed
Bitnami gitlab 11.11.0 16.10.6
Ubuntu:16.04:LTS gitlab 0 No fix
Ubuntu:Pro:16.04:LTS gitlab 0 No fix

Related vulnerabilities