LiveActive security incident?Get immediate response
CVE Record

CVE-2021-22237: Under specialized conditions, GitLab may allow a user with an impersonation token to perform Git actions ev...

Under specialized conditions, GitLab may allow a user with an impersonation token to perform Git actions even if impersonation is disabled. This vulnerability is present in GitLab CE/EE versions before 13.12.9, 14.0.7, 14.1.2

MediumCVSS 6.6Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-22237 affects self-managed GitLab CE/EE. In specific conditions, a user who already has an impersonation token may perform Git actions even when impersonation is disabled. This is not a remote unauthenticated issue, but it can undermine administrative controls and expose source code or repository integrity.

Executive priority

Treat this as a moderate-priority GitLab control-bypass issue. Prioritize patching self-managed GitLab instances that host sensitive code, regulated data, deployment pipelines, or privileged repositories, especially where impersonation tokens have been used.

Technical view

GitLab CE/EE versions 13.1 before 13.12.9, 14.0 before 14.0.7, and 14.1 before 14.1.2 are affected. CVSS 3.1 is 6.6 with network access, high complexity, high privileges, no user interaction, unchanged scope, and high C/I/A impact.

Likely exposure

Exposure is most likely in self-managed GitLab instances running the affected version ranges, especially where impersonation tokens existed or administrators relied on disabling impersonation as a control.

Exploitation context

The source bundle does not indicate known active exploitation, and KEV is false. Abuse requires a highly privileged context and specialized conditions involving an impersonation token, so risk is concentrated around insider misuse, compromised admin-level accounts, or stale tokens.

Researcher notes

The available sources describe affected versions and conditions but do not provide detailed root cause, exploit mechanics, or detection signatures. Analysis should stay focused on version exposure, impersonation-token presence, and Git activity anomalies rather than assuming broad exploitability.

Mitigation direction

  • Upgrade GitLab CE/EE to 13.12.9, 14.0.7, 14.1.2, or later fixed releases.
  • Confirm no self-managed GitLab instance remains in the listed affected version ranges.
  • Review GitLab’s linked advisory sources for environment-specific remediation guidance.
  • Inventory impersonation tokens and remove unnecessary or stale tokens.
  • Monitor Git activity tied to users with impersonation tokens.

Validation and detection

  • Check each GitLab instance version against the affected ranges in the CVE record.
  • Confirm upgraded instances report a fixed or later GitLab release.
  • Review administrative settings for impersonation and token governance.
  • Review audit or repository logs for unexpected Git actions by impersonated users.
  • Document whether any affected instances existed during the exposure window.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-22237 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.6 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.6CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H0.75.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.6Medium
CVSS 3.1 vector shape for CVE-2021-22237Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GitLabGitLab>=13.1, <13.12.9, >=14.0, <14.0.7, >=14.1, <14.1.2Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.