{"id":"CVE-2021-22252","aliases":["BIT-gitlab-2021-22252","EUVD-2021-9398","GHSA-c877-4h7h-xvp6","UBUNTU-CVE-2021-22252"],"status":"published","title":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7...","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01126,"percentile":0.66566,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-668"],"published":"2021-08-23T19:36:39Z","modified":"2026-10-30T10:31:07Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.12.9","14.0.7","14.1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.7.0"},{"fixed":"13.12.9"},{"introduced":"14.0.0"},{"fixed":"14.0.7"},{"introduced":"14.1.0"},{"fixed":"14.1.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/330364","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1186135","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22252.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22252","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c877-4h7h-xvp6"},{"url":"https://ubuntu.com/security/CVE-2021-22252","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22252","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22252","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2021-08-23T19:36:39Z","modified":"2024-08-03T18:37:18.277Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:32:58.028461Z"}],"euvd":[{"id":"EUVD-2021-9398","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2021-08-23T19:36:39Z","modified":"2024-08-03T18:37:18Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:03.183524Z"}],"ghsa":[{"id":"GHSA-c877-4h7h-xvp6","title":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7...","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2022-05-24T19:11:53Z","modified":"2023-01-27T05:03:17Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-668"],"updated_at":"2026-11-02T14:42:12.753514Z"}],"nvd":[{"id":"CVE-2021-22252","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2021-08-23T20:15:13.037Z","modified":"2026-06-17T03:36:53.373Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:57.318236Z"}],"osv":[{"id":"CVE-2021-22252","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2021-08-23T20:15:13.037Z","modified":"2026-10-30T10:31:07.071292494Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"UBUNTU-CVE-2021-22252","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2021-08-23T20:15:00Z","modified":"2025-10-24T04:50:07Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"BIT-gitlab-2021-22252","description":"A confusion between tag and branch names in GitLab CE/EE affecting all versions since 13.7 allowed a Developer to access protected CI variables which should only be accessible to Maintainers","status":"published","published":"2024-03-06T11:19:08.094Z","modified":"2026-09-08T08:47:37.78826219Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
