{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "13.6"
              },
              {
                "fixed": "17.2.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "c050e8fb184690b8c4cc4c2a5c233f312d713b09"
            },
            {
              "fixed": "91146650fd2d7d080662a536b1d04a5c96f451be"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.3"
              },
              {
                "fixed": "17.3.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "5aad128b1defa01641e69fdcd5a2ec16bd1d4c2c"
            },
            {
              "fixed": "9048fbf917815f5283436f14b221cbf91a24c63b"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.4"
              },
              {
                "fixed": "17.4.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "22193b3da887c1fa5e49021fa8f87b74e6539a7a"
            },
            {
              "fixed": "e85e7bae1a93d7b8faa2842423a4ffea2db86e87"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9631.json"
  },
  "details": "An issue was discovered in GitLab CE/EE affecting all versions starting from 13.6 prior to 17.2.9, starting from 17.3 prior to 17.3.5, and starting from 17.4 prior to 17.4.2, where viewing diffs of MR with conflicts can be slow.",
  "id": "CVE-2024-9631",
  "modified": "2026-04-01T23:09:34.392424057Z",
  "published": "2025-02-05T10:30:51.252Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9631.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9631"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/480867"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2650086"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Inefficient Algorithmic Complexity in GitLab"
}