Skip to content
Fencer Intel
medium 4.3

CVE-2021-22168 json

A regular expression denial of service issue has been discovered in NuGet API affecting all versions of GitLab starting from version 12.8.

published 5y ago modified last mo. also BIT-gitlab-2021-22168 , EUVD-2021-9314

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

A regular expression denial of service issue has been discovered in NuGet API affecting all versions of GitLab starting from version 12.8.

Patch / fix

  • bitnami gitlab 13.5.6, 13.6.4, 13.7.2
  • gitlab gitlab 13.5.6, 13.6.4, 13.7.2
  • gitlab gitlab_enterprise 13.5.6, 13.6.4, 13.7.2
  • gitlab Arch Linux 13.7.2-1

arch linux advisories AVG-1416

Is CVE-2021-22168 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 Fencer

Exploit prediction

1.01% chance of exploitation in the next 30 days, higher than 63% 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.8.0, <13.5.6
>=13.6.0, <13.6.4
>=13.7.0, <13.7.2
13.5.6
13.6.4
13.7.2

Affected products

  • GitLab GitLab

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

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.