Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39877

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39877
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:19 UTC · Revision 1

Source evidence

CVE-2021-39877

core-osv · Original source

Published 4 Oct 2021, 17:15 UTC

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.

osv:CVE-2021-39877
Complete source record
{
  "id": "6911d82970954545abea34b886ef91f467f626c74a42609663077fbacb10a416",
  "url": "https://osv.dev/vulnerability/CVE-2021-39877",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39877",
    "summary": "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.",
    "evidence": "osv:CVE-2021-39877",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39877",
      "aliases": [
        "BIT-gitlab-2021-39877",
        "CVE-2021-39877"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "30032e00da906361c553a1eef4ffcd13378b43ee"
                },
                {
                  "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
                },
                {
                  "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                },
                {
                  "fixed": "0816e4664224c86a9c3868127ad890d7cf0526c6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.2.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.2.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3"
                      },
                      {
                        "fixed": "14.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3"
                      },
                      {
                        "fixed": "14.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.2.4-ee",
            "v14.3.0-ee",
            "v14.2.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39877.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:55.739944057Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39877.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/300095",
        "https://hackerone.com/reports/1077021"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39877",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434318,
  "published_at": "2021-10-04T17:15:08.08+00:00"
}