{"id":"CVE-2021-22170","aliases":["BIT-gitlab-2021-22170","EUVD-2021-9316","GHSA-65v8-8343-jcqr","UBUNTU-CVE-2021-22170"],"status":"published","title":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some...","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","severity":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00554,"percentile":0.46567,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-326","CWE-327"],"published":"2021-12-06T17:35:58Z","modified":"2026-10-20T10:54:30Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.5.6","13.6.4","13.7.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"11.6.0"},{"fixed":"13.5.6"},{"introduced":"13.6.0"},{"fixed":"13.6.4"},{"introduced":"13.7.0"},{"fixed":"13.7.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/36855","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22170.json","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22170","tags":["web"]},{"url":"https://github.com/advisories/GHSA-65v8-8343-jcqr"},{"url":"https://ubuntu.com/security/CVE-2021-22170","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22170","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22170","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-06T17:35:58Z","modified":"2024-08-03T18:37:18.131Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:32:57.701381Z"}],"euvd":[{"id":"EUVD-2021-9316","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-06T17:35:58Z","modified":"2024-08-03T18:37:18Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:03.638882Z"}],"ghsa":[{"id":"GHSA-65v8-8343-jcqr","title":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some...","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-07T00:00:28Z","modified":"2023-01-27T05:01:13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-326"],"updated_at":"2026-11-02T14:41:50.629165Z"}],"nvd":[{"id":"CVE-2021-22170","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-06T18:15:08.067Z","modified":"2026-06-17T03:36:44.07Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-327"],"updated_at":"2026-11-02T14:07:01.811115Z"}],"osv":[{"id":"CVE-2021-22170","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-06T18:15:08.067Z","modified":"2026-10-20T10:54:30.472694669Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"UBUNTU-CVE-2021-22170","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2021-12-06T18:15:00Z","modified":"2025-10-24T04:50:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"BIT-gitlab-2021-22170","description":"Assuming a database breach, nonce reuse issues in GitLab 11.6+ allows an attacker to decrypt some of the database's encrypted content","status":"published","published":"2024-03-06T11:20:39.636Z","modified":"2026-09-08T08:48:23.098686875Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
