1. CVE archive
  2. 2022
  3. CVE-2022-4331

CVE-2022-4331

7.3 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N 7.3 – High

Description

An issue has been discovered in GitLab EE affecting all versions starting from 15.1 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. If a group with SAML SSO enabled is transferred to a new namespace as a child group, it's possible previously removed malicious maintainer or owner of the child group can still gain access to the group via SSO or a SCIM token to perform actions on the group.

Affected products

VendorProductVersionPlatform
gitlab gitlab >= 15.1 < 15.7.8 –
gitlab gitlab >= 15.8 < 15.8.4 –
gitlab gitlab >= 15.9 < 15.9.2 –
All 1,558 Gitlab vulnerabilities

Vulnerability type

CWE-284 Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Impact on systems

ScopeImpact
Other Varies by Context, Gain Privileges or Assume Identity
When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc.

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

All 7,877 CWE-284 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org