{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "12.0"
              },
              {
                "fixed": "14.3.6"
              },
              {
                "introduced": "12.0"
              },
              {
                "fixed": "14.3.6"
              },
              {
                "introduced": "14.4"
              },
              {
                "fixed": "14.4.4"
              },
              {
                "introduced": "14.4"
              },
              {
                "fixed": "14.4.4"
              },
              {
                "introduced": "14.5"
              },
              {
                "fixed": "14.5.2"
              },
              {
                "introduced": "14.5"
              },
              {
                "fixed": "14.5.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "3b13818e8330f68625d80d9bf5d8049c41fbe197"
            },
            {
              "fixed": "057790c613dea428aa523357c333ced5433794ee"
            },
            {
              "introduced": "3b13818e8330f68625d80d9bf5d8049c41fbe197"
            },
            {
              "fixed": "057790c613dea428aa523357c333ced5433794ee"
            },
            {
              "introduced": "19c719febd74b6edf549bf6a2c0e36bf8f176d56"
            },
            {
              "fixed": "a1175384df48e74899d664520601823016d81084"
            },
            {
              "introduced": "19c719febd74b6edf549bf6a2c0e36bf8f176d56"
            },
            {
              "fixed": "a1175384df48e74899d664520601823016d81084"
            },
            {
              "introduced": "490a8efda84a04e31ac41b882d95bb717c202437"
            },
            {
              "fixed": "4511944420f00a68d5df2b3d81e5dae7fa2888f3"
            },
            {
              "introduced": "490a8efda84a04e31ac41b882d95bb717c202437"
            },
            {
              "fixed": "4511944420f00a68d5df2b3d81e5dae7fa2888f3"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A denial of service vulnerability in GitLab CE/EE affecting all versions starting from 12.0 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, allows low-privileged users to bypass file size limits in the NPM package repository to potentially cause denial of service.",
  "id": "CVE-2021-39942",
  "modified": "2026-04-01T23:09:03.201583833Z",
  "published": "2022-01-18T17:15:08.723Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39942.json"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/1071861"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/297492"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}