Skip to content
Heist/ feed
Back to feed
Low

Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab

Type: advisorySources: OSV

An issue was discovered in GitLab EE affecting all versions starting from 14.9 before 17.8.6, all versions starting from 17.9 before 17.8.3, all versions starting from 17.10 before 17.10.1. An input validation issue in the Harbor registry integration could have allowed a maintainer to add malicious code to the CLI commands shown in the UI.

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

Source evidence

Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab

core-osv · Original source

Published 27 Mar 2025, 12:31 UTC

An issue was discovered in GitLab EE affecting all versions starting from 14.9 before 17.8.6, all versions starting from 17.9 before 17.8.3, all versions starting from 17.10 before 17.10.1. An input validation issue in the Harbor registry integration could have allowed a maintainer to add malicious code to the CLI commands shown in the UI.

osv:CVE-2024-9773
Complete source record
{
  "id": "d6a2db8d4446148cf6231c1cab4f15dea07ff55642baac8eb87cd414b62bdd4b",
  "url": "https://osv.dev/vulnerability/CVE-2024-9773",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab",
    "summary": "An issue was discovered in GitLab EE affecting all versions starting from 14.9 before 17.8.6, all versions starting from 17.9 before 17.8.3, all versions starting from 17.10 before 17.10.1. An input validation issue in the Harbor registry integration could have allowed a maintainer to add malicious code to the CLI commands shown in the UI.",
    "evidence": "osv:CVE-2024-9773",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-9773",
      "aliases": [
        "BIT-gitlab-2024-9773",
        "CVE-2024-9773"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1fdefb34741e329ede520eba6c3038eb48bfa191"
                },
                {
                  "fixed": "27e19f1747ade9da7af660001a20e2dd47219a69"
                },
                {
                  "introduced": "f5041566b342c2f30a8d63b8117272c454e18410"
                },
                {
                  "fixed": "3f8a07baae6b8ce6bcc5b35075d00164df3b3b60"
                },
                {
                  "introduced": "ef8041bebeac4b902db1666c582a3de1d495ae39"
                },
                {
                  "last_affected": "ef8041bebeac4b902db1666c582a3de1d495ae39"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.9.0"
                      },
                      {
                        "fixed": "17.8.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.9.0"
                      },
                      {
                        "fixed": "17.9.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:17.10.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.10.0"
                      },
                      {
                        "last_affected": "17.10.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "17.10.0",
            "v17.10.0-ee",
            "v17.9.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9773.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.459608166Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9773.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-9773",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/498557",
        "https://hackerone.com/reports/2671808"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9773.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-9773",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510301,
  "published_at": "2025-03-27T12:31:27.475+00:00"
}