CVE-2022-2428
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 · uneditedA crafted tag in the Jupyter Notebook viewer in GitLab EE/CE affecting all versions before 15.1.6, 15.2 to 15.2.4, and 15.3 to 15.3.2 allows an attacker to issue arbitrary HTTP requests
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 confidenceThis is a Server-Side Request Forgery (SSRF) vulnerability in GitLab's Jupyter Notebook viewer. An attacker can embed a crafted tag within a notebook viewed through GitLab, causing the GitLab server to issue arbitrary HTTP requests to internal or external resources. This could allow enumeration of internal services, access to metadata endpoints, or pivoting to internal infrastructure.
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< 15.1.6>= 15.2, < 15.2.4>= 15.3, < 15.3.2CVSS 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
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/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.
-
Check installed GitLab versionRun `sudo gitlab-rake gitlab:env:info` or check the GitLab admin panel under Help > Version to find the exact version numberAffected if Version is 15.0.x, 15.1.0 through 15.1.5, 15.2.0 through 15.2.3, or 15.3.0 through 15.3.1 (these fall within the affected ranges < 15.1.6, >= 15.2 < 15.2.4, or >= 15.3 < 15.3.2)
-
Confirm Jupyter Notebook viewer is enabledNavigate to GitLab admin area > Settings > Repository > expand "Jupyter Notebook viewer" settings, or check gitlab.yml configuration file for `jupyter_notifications_enabled` or similar flagsAffected if Jupyter Notebook viewer feature is enabled in the GitLab settings, as this is the vulnerable component that processes notebook files
-
Identify if any notebooks exist in repositoriesSearch GitLab repositories for .ipynb files using the API (`GET /search?scope=blobs&search=.ipynb`) or repository browsing UIAffected if Repositories contain Jupyter notebook (.ipynb) files that could be viewed through the vulnerable viewer, providing an attack vector
You are affected if your GitLab version falls within the vulnerable ranges AND the Jupyter Notebook viewer feature is enabled and accessible to users with repository view permissions.
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 · scoped15.1.615.2.415.3.2
Upgrade GitLab to version 15.1.6 or later, 15.2.5 or later, or 15.3.3 or later. If immediate upgrade is not possible, consider restricting access to the Jupyter Notebook viewer feature or implementing WAF rules to detect SSRF patterns.
15.1.6, 15.2.4, or 15.3.2 (depending on which branch you are on)
- 1. Identify the current GitLab version by running `gitlab-rake gitlab:env:info` or checking the Admin Area dashboard
- 2. Based on current version, upgrade to the appropriate fixed release: If < 15.1.6, upgrade to 15.1.6; If >= 15.2.x and < 15.2.4, upgrade to 15.2.4; If >= 15.3.x and < 15.3.2, upgrade to 15.3.2
- 3. Follow standard GitLab upgrade procedure using GitLab package manager or source installation method
- 4. After upgrade, verify the Jupyter Notebook viewer functionality works correctly
- 5. Test that the XSS vulnerability is patched by attempting to load a notebook with crafted script tags - it should not execute
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.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 $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-2428 — 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-2428 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