Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-5226— Improper Control of Generation of Code ('Code Injection') in GitLab

Quick assessment

Affected
GitLab GitLab
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitLab是美国GitLab公司的一个开源的端到端软件开发平台,具有内置的版本控制、问题跟踪、代码审查、CI/CD(持续集成和持续交付)等功能。 GitLab 存在安全漏洞,该漏洞源于在某些情况下,恶意行为者会使用特制的分支名称来绕过禁止的分支检查,以操纵 UI 中的存储库内容。

CVSS 4.8 · Medium EPSS 0.55% · P44

Affected Version Matrix 3

VendorProduct Version RangeStatus
GitLab GitLab < 16.4.3 affected
16.5< 16.5.3 affected
16.6< 16.6.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-5226

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Control of Generation of Code ('Code Injection') in GitLab
Source: CVE Program / CVE List V5
Vulnerability Description
An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
GitLab 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitLab是美国GitLab公司的一个开源的端到端软件开发平台,具有内置的版本控制、问题跟踪、代码审查、CI/CD(持续集成和持续交付)等功能。 GitLab 存在安全漏洞,该漏洞源于在某些情况下,恶意行为者会使用特制的分支名称来绕过禁止的分支检查,以操纵 UI 中的存储库内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitLab GitLab 0 ~ 16.4.3 cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2023-5226

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-5226

请登录查看更多情报信息。

Other References for CVE-2023-5226 (2)

Same Patch Batch · GitLab · 2023-12-01 · 9 CVEs total

CVE-2023-6033 8.7 HIGH Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Gi
CVE-2023-3949 5.3 MEDIUM Insertion of Sensitive Information Into Sent Data in GitLab
CVE-2023-5995 4.4 MEDIUM Incorrect Authorization in GitLab
CVE-2023-3964 4.3 MEDIUM Incorrect Authorization in GitLab
CVE-2023-4317 4.3 MEDIUM Incorrect Authorization in GitLab
CVE-2023-3443 3.1 LOW Incorrect Authorization in GitLab
CVE-2023-4658 3.1 LOW Incorrect Authorization in GitLab
CVE-2023-4912 2.6 LOW Allocation of Resources Without Limits or Throttling in GitLab

IV. Related Vulnerabilities

V. Comments for CVE-2023-5226

No comments yet


Leave a comment