CVE-2022-2228
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedInformation exposure in GitLab EE affecting all versions from 12.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 allows an attacker with the appropriate access tokens to obtain CI variables in a group with using IP-based access restrictions even if the GitLab Runner is calling from outside the allowed IP range
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn GitLab EE, IP-based access restrictions on CI variables can be bypassed. An attacker with valid access tokens can retrieve CI variables from groups protected by IP allowlisting, even when the request originates from an IP outside the permitted range.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 12.0.0, < 14.10.5>= 15.0.0, < 15.0.4= 15.1.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed GitLab versionRun `gitlab-ctl version` or check the Admin Area > Version (the version number is displayed on the dashboard)Affected if The version is 12.0.0 or higher but lower than 14.10.5, OR 15.0.0 or higher but lower than 15.0.4, OR exactly 15.1.0
-
Confirm the GitLab edition is Enterprise Edition (EE)Check the Admin Area > Version page; the edition is listed as 'GitLab Enterprise Edition' (this vulnerability only affects EE, not CE)Affected if Running GitLab Enterprise Edition and the version falls in the affected ranges from step 1
-
Verify if IP-based access restrictions are configured on CI variablesNavigate to a group Settings > CI/CD > Variables, or Admin Area > Instance-level CI/CD settings, and check for any IP allowlist or IP restriction configuration under variable protection settingsAffected if IP allowlisting or IP restrictions are enabled on any CI variable protection settings
A user is affected if running a vulnerable GitLab EE version (12.0.0 to 14.10.4, 15.0.0 to 15.0.3, or 15.1.0) AND IP-based restrictions are configured on CI variables or group settings.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped14.10.515.0.4
Upgrade GitLab to version 14.10.5, 15.0.4, 15.1.1 or later. Review and rotate any potentially exposed CI variables and access tokens as a precaution.
14.10.5+ for 14.x users, 15.0.4+ for 15.0.x users, 15.1.1+ for 15.1.0 users
- 1. Identify the currently installed GitLab version by running `gitlab-rake gitlab:env:info` or checking the GitLab admin area.
- 2. Determine which upgrade path applies based on your current version: if on 14.x, upgrade to 14.10.5 or later; if on 15.0.x, upgrade to 15.0.4 or later; if on 15.1.0, upgrade to 15.1.1 or later.
- 3. Back up your GitLab database and repositories before upgrading.
- 4. Stop GitLab services with `sudo gitlab-ctl stop`.
- 5. Update GitLab using your package manager: for Debian/Ubuntu run `sudo apt-get update && sudo apt-get install gitlab-ee`; for RHEL/CentOS run `sudo yum install gitlab-ee`.
- 6. Reconfigure GitLab with `sudo gitlab-ctl reconfigure`.
- 7. Start GitLab services with `sudo gitlab-ctl start`.
- 8. Verify the upgrade was successful and check that GitLab is functioning normally.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,304.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-2228 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-2228 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data