CVE-2021-39942 json
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…
published 4y ago modified last mo. also BIT-gitlab-2021-39942 , EUVD-2021-26298
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 14.3.6, 14.4.4, 14.5.2
- gitlab gitlab 14.3.6, 14.4.4, 14.5.2
- gitlab gitlab_enterprise 14.3.6, 14.4.4, 14.5.2
Is CVE-2021-39942 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=12.0.0, <14.3.6 >=14.4.0, <14.4.4 >=14.5.0, <14.5.2 |
14.3.6 14.4.4 14.5.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
- Technology feeds
References
-
gitlab.com
/gitlab-org/gitlab/-/issues/297492
broken-link, vendor-advisory, advisory
-
gitlab.com
/gitlab-org/cves/-/blob/master/2021/CVE-2021-39942.json
vendor-advisory, advisory
-
hackerone.com
/reports/1071861
permissions-required, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39942
web
Sources
- CVE List CVE-2021-39942
- NVD CVE-2021-39942
- OSV BIT-gitlab-2021-39942
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.