CVE-2022-4138 json
A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.…
published 3y ago modified 2mo ago also BIT-gitlab-2022-4138 , EUVD-2022-51500
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.
Patch / fix
- bitnami gitlab 15.6.7, 15.7.6, 15.8.1
- gitlab gitlab 15.6.7, 15.7.6, 15.8.1
- gitlab gitlab_enterprise 15.6.7, 15.7.6, 15.8.1
Is CVE-2022-4138 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=1.0.0, <15.6.7 >=15.7.0, <15.7.6 >=15.8.0, <15.8.1 |
15.6.7 15.7.6 15.8.1 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
- Technology feeds
References
-
gitlab.com
/gitlab-org/cves/-/blob/master/2022/CVE-2022-4138.json
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/383709
broken-link, web
-
hackerone.com
/reports/1778009
permissions-required, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-4138
web
Sources
- CVE List CVE-2022-4138
- NVD CVE-2022-4138
- OSV BIT-gitlab-2022-4138
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.