Skip to content
Heist/ feed
Back to feed
Low

Improper Control of Resource Identifiers ('Resource Injection') in GitLab

Type: advisorySources: OSV

A resource misdirection vulnerability in GitLab CE/EE versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits.

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

Source evidence

Improper Control of Resource Identifiers ('Resource Injection') in GitLab

core-osv · Original source

Published 24 Jul 2024, 22:08 UTC

A resource misdirection vulnerability in GitLab CE/EE versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits.

osv:CVE-2024-0231
Complete source record
{
  "id": "d27014a6ee51bcbbb9e96fc3f0ea7512f883cb0ddb21caa37ebf9c9a5e3a32e7",
  "url": "https://osv.dev/vulnerability/CVE-2024-0231",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Control of Resource Identifiers ('Resource Injection') in GitLab",
    "summary": "A resource misdirection vulnerability in GitLab CE/EE versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits.",
    "evidence": "osv:CVE-2024-0231",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-0231",
      "aliases": [
        "BIT-gitlab-2024-0231",
        "CVE-2024-0231"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3b13818e8330f68625d80d9bf5d8049c41fbe197"
                },
                {
                  "fixed": "9c031204479bc7a5d833157334767231e928d553"
                },
                {
                  "introduced": "b7514f9c21c09a9ed2b258f5cfdd56c88f43864a"
                },
                {
                  "fixed": "48ce743838e0b3789a335e608d1f3d34ce853a75"
                },
                {
                  "introduced": "f1ebbe522423b514610449d0f6dc7a262f855314"
                },
                {
                  "last_affected": "f1ebbe522423b514610449d0f6dc7a262f855314"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0"
                      },
                      {
                        "fixed": "17.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0"
                      },
                      {
                        "fixed": "17.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "17.1.0"
                      },
                      {
                        "fixed": "17.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.1.0"
                      },
                      {
                        "fixed": "17.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:17.2.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "17.2.0"
                      },
                      {
                        "last_affected": "17.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:17.2.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "17.2.0"
                      },
                      {
                        "last_affected": "17.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "17.2.0",
            "v17.2.0-ee",
            "v17.1.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0231.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.919749999Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0231.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-0231",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/437103",
        "https://hackerone.com/reports/2299337"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-99"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0231.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-0231",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496556,
  "published_at": "2024-07-24T22:08:20.025+00:00"
}