Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

An issue has been discovered in GitLab affecting all versions of GitLab CE/EE 16.9 prior to 16.9.6, 16.10 prior to 16.10.4, and 16.11 prior to 16.11.1 where path traversal could lead to DoS and restricted file read.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-2434
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:44 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 25 Apr 2024, 11:02 UTC

An issue has been discovered in GitLab affecting all versions of GitLab CE/EE 16.9 prior to 16.9.6, 16.10 prior to 16.10.4, and 16.11 prior to 16.11.1 where path traversal could lead to DoS and restricted file read.

osv:CVE-2024-2434
Complete source record
{
  "id": "6703564440c708f871748f6f33d26bd4c83ae686eb4e2629a7b5140c3e2d2078",
  "url": "https://osv.dev/vulnerability/CVE-2024-2434",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab",
    "summary": "An issue has been discovered in GitLab affecting all versions of GitLab CE/EE 16.9 prior to 16.9.6, 16.10 prior to 16.10.4, and 16.11 prior to 16.11.1 where path traversal could lead to DoS and restricted file read.",
    "evidence": "osv:CVE-2024-2434",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-2434",
      "aliases": [
        "BIT-gitlab-2024-2434",
        "CVE-2024-2434"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "76326ae8b898b38c8217ad037ed7122be00e62f0"
                },
                {
                  "fixed": "37be6ae4d071c237cf140e2b206ad4062adefcd1"
                },
                {
                  "introduced": "053df647320e7cac5c255f9e07264a0c35548409"
                },
                {
                  "fixed": "eb1786335068274ac755a5dd5aaf2dda526b20f5"
                },
                {
                  "introduced": "22834294718a25956b0a859c8eed72248300eeee"
                },
                {
                  "last_affected": "22834294718a25956b0a859c8eed72248300eeee"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "16.9.0"
                      },
                      {
                        "fixed": "16.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.9.0"
                      },
                      {
                        "fixed": "16.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "16.10.0"
                      },
                      {
                        "fixed": "16.10.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.10.0"
                      },
                      {
                        "fixed": "16.10.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "16.11.0"
                      },
                      {
                        "last_affected": "16.11.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:16.11.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.11.0"
                      },
                      {
                        "last_affected": "16.11.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "16.11.0",
            "v16.9.5-ee",
            "v16.11.0-ee",
            "v16.10.3-ee",
            "v16.10.0-ee",
            "v16.9.0-rc44-ee",
            "v16.9.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2434.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.513418747Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2434.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-2434",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/450303",
        "https://hackerone.com/reports/2401952"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2434.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-2434",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513589,
  "published_at": "2024-04-25T11:02:15.928+00:00"
}