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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 40% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-06T17:35:58.000Z
- Modified: 2026-09-08T08:48:23.098Z
- Also known as: BIT-GITLAB-2021-22170
- Weaknesses: CWE-327
- Assigned by: GitLab

## Description

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

(As written by CVE List.)

## Affected

- GitLab GitLab: >=11.6.0, <13.5.6; >=13.6.0, <13.6.4; >=13.7.0, <13.7.2; from 11.6.0 before 13.5.6; from 13.6.0 before 13.6.4; from 13.7.0 before 13.7.2
- gitlab (Bitnami): from 11.6.0 before 13.5.6; from 13.6.0 before 13.6.4; from 13.7.0 before 13.7.2

## Every score

- GitLab: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/36855> (exploit, advisory, issue-tracking, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22170.json> (exploit, advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22170> (web)

## Sources

- CVE List: [CVE-2021-22170](https://www.cve.org/CVERecord?id=CVE-2021-22170), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22170](https://nvd.nist.gov/vuln/detail/CVE-2021-22170), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-22170](https://osv.dev/vulnerability/BIT-GITLAB-2021-22170), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-22170 · Whole record: https://cve.day/CVE-2021-22170.json · Rebuilt by cve.day 2026-11-25T22:58:05.829Z
