Skip to main content
← All vulnerabilities
CVE-2024-0402

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 16.5.8, 16.6.6, 16.7.4, 16.8.1
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • GitLab GitLab

    From 16.0 · fixed in 16.5.8; From 16.6 · fixed in 16.6.6; From 16.7 · fixed in 16.7.4; From 16.8 · fixed in 16.8.1

References 3

about.gitlab.com

gitlab.com

GitHub · doyensec/malicious-devfile-registry