{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "12.2.0"
              },
              {
                "fixed": "14.1.7"
              },
              {
                "introduced": "12.2.0"
              },
              {
                "fixed": "14.1.7"
              },
              {
                "introduced": "14.2"
              },
              {
                "fixed": "14.2.5"
              },
              {
                "introduced": "14.2"
              },
              {
                "fixed": "14.2.5"
              },
              {
                "introduced": "14.3"
              },
              {
                "fixed": "14.3.1"
              },
              {
                "introduced": "14.3"
              },
              {
                "fixed": "14.3.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "30032e00da906361c553a1eef4ffcd13378b43ee"
            },
            {
              "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
            },
            {
              "introduced": "30032e00da906361c553a1eef4ffcd13378b43ee"
            },
            {
              "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
            },
            {
              "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
            },
            {
              "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
            },
            {
              "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
            },
            {
              "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
            },
            {
              "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
            },
            {
              "fixed": "0816e4664224c86a9c3868127ad890d7cf0526c6"
            },
            {
              "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
            },
            {
              "fixed": "0816e4664224c86a9c3868127ad890d7cf0526c6"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was discovered in GitLab starting with version 12.2 that allows an attacker to cause uncontrolled resource consumption with a specially crafted file.",
  "id": "CVE-2021-39877",
  "modified": "2026-03-13T21:51:45.601034171Z",
  "published": "2021-10-04T17:15:08.080Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39877.json"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/300095"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1077021"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}