p PatchFirst

CVE-2024-0402

CVE-2024-0402 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.9 · Critical · EPSS 3.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • gitlab

    Versions
    • ≥ 16.0, < 16.5.8: Affected (semver)
    • ≥ 16.6, < 16.6.6: Affected (semver)
    • ≥ 16.7, < 16.7.4: Affected (semver)
    • ≥ 16.8, < 16.8.1: Affected (semver)

    Update to 16.5.8; Update to 16.6.6; Update to 16.7.4; Update to 16.8.1

  • gitlab Ubuntu:16.04:LTS

    Versions
    • 8.4.3+dfsg-9
    • 8.4.3+dfsg-12
    • 8.5.8+dfsg-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →