CVE-2022-1981
What it is
An issue has been discovered in GitLab EE affecting all versions starting from 12.2 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1. In GitLab, if a group enables the setting to restrict access to users belonging to specific domains, that allow-list may be bypassed if a Maintainer uses the 'Invite a group' feature to invite a group that has members that don't comply with domain allow-list.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. Limited direct impact.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 2.7 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-863 · Incorrect authorization
- Record status
- Modified
Affected
- GitLab < 14.10.5
- GitLab < 15.0.4
- GitLab 15.1.0
Attack profile CVSS 3.1 · 2.7
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-1981.md and follow it. Check whether this project is affected by CVE-2022-1981. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1981.json
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1981.json
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1981.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/354791
- https://hackerone.com/reports/1501733
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1981.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/354791
- https://hackerone.com/reports/1501733