Skip to content
Heist/ feed
Back to feed
Low

Uncontrolled Search Path Element in GitLab

Type: advisorySources: OSV

An issue was discovered in GitLab CE/EE affecting all versions starting from 11.8 prior to 16.11.6, starting from 17.0 prior to 17.0.4, and starting from 17.1 prior to 17.1.2 where it was possible to upload an NPM package with conflicting package data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-6595
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 11:14 UTC · Revision 1

Source evidence

Uncontrolled Search Path Element in GitLab

core-osv · Original source

Published 17 Jul 2024, 01:30 UTC

An issue was discovered in GitLab CE/EE affecting all versions starting from 11.8 prior to 16.11.6, starting from 17.0 prior to 17.0.4, and starting from 17.1 prior to 17.1.2 where it was possible to upload an NPM package with conflicting package data.

osv:CVE-2024-6595
Complete source record
{
  "id": "438c679a84be4f14da153999960791c8d15d5aa7fc1e5d7f69ed0596b141a07a",
  "url": "https://osv.dev/vulnerability/CVE-2024-6595",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Uncontrolled Search Path Element in GitLab",
    "summary": "An issue was discovered in GitLab CE/EE affecting all versions starting from 11.8 prior to 16.11.6, starting from 17.0 prior to 17.0.4, and starting from 17.1 prior to 17.1.2 where it was possible to upload an NPM package with conflicting package data.",
    "evidence": "osv:CVE-2024-6595",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-6595",
      "aliases": [
        "BIT-gitlab-2024-6595",
        "CVE-2024-6595"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "002a28279f5b3fd229f929bb1f40eb7b5fc87ee9"
                },
                {
                  "fixed": "5b6a9df706fd0f6740a10bca1ff04ac753d2de93"
                },
                {
                  "introduced": "8c75d0bf4a4190d94326f1a854d0a102ceca4392"
                },
                {
                  "fixed": "9dbd6804d1bdceedc3d1ff12baa6e6fb37eb4963"
                },
                {
                  "introduced": "b7514f9c21c09a9ed2b258f5cfdd56c88f43864a"
                },
                {
                  "fixed": "91c6434080c94452fed2dc601fecf4ff478b6b0e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "11.8.0"
                      },
                      {
                        "fixed": "16.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "11.8.0"
                      },
                      {
                        "fixed": "16.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "17.0.0"
                      },
                      {
                        "fixed": "17.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.0.0"
                      },
                      {
                        "fixed": "17.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "17.1.0"
                      },
                      {
                        "fixed": "17.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.1.0"
                      },
                      {
                        "fixed": "17.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v17.0.1-rc42-ee",
            "v17.1.0-ee",
            "v17.0.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6595.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.852731340Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6595.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-6595",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/417975",
        "https://blog.vlt.sh/blog/the-massive-hole-in-the-npm-ecosystem"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-451"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6595.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-6595",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 511710,
  "published_at": "2024-07-17T01:30:43.332+00:00"
}