3.5
CWE
863
Advisory Published
Updated

CVE-2022-1981

First published: Fri Jul 01 2022(Updated: )

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.

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=12.2.0<14.10.5
GitLab>=15.0.0<15.0.4
GitLab=15.1.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-1981?

    CVE-2022-1981 has been rated as critical due to the potential for bypassing access restrictions in GitLab.

  • How do I fix CVE-2022-1981?

    To fix CVE-2022-1981, upgrade GitLab to version 14.10.5 or higher, 15.0.4 or higher, or 15.1.1.

  • What versions of GitLab are affected by CVE-2022-1981?

    CVE-2022-1981 affects GitLab EE versions from 12.2 up to but not including 14.10.5, 15.0 up to but not including 15.0.4, and 15.1 up to but not including 15.1.1.

  • What is the nature of the vulnerability CVE-2022-1981?

    CVE-2022-1981 allows a Maintainer to bypass access restrictions based on user domains in GitLab.

  • Can CVE-2022-1981 impact my GitLab instance?

    Yes, if your GitLab instance is running a vulnerable version and has domain restrictions enabled, it can be impacted by CVE-2022-1981.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203