Skip to content
Fencer Intel
medium 6.2

CVE-2021-22170 json

Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content

published 4y ago modified 2mo ago also BIT-gitlab-2021-22170 , EUVD-2021-9316

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

Summary

Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content

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

Is CVE-2021-22170 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

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • gitlab.com https://gitlab.com/gitlab-org/gitlab/-/issues/36855 referenced PoC, tagged "exploit" by a source, unverified
  • gitlab.com https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22170.json referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami gitlab
>=11.6.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-327 Use of a Broken or Risky Cryptographic Algorithm
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.