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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-3958— 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存在安全漏洞,该漏洞源于允许攻击者利用Web应用显示与git命令行界面之间的差异,通过社会工程手段诱导受害者克隆非可信代码。以下版本受到影响:17.0.6之前版本、17.1到17.1.4之前版本、17.2到17.2.2之前版本。

CVSS 5.3 · Medium EPSS 0.32% · P23
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-3958

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 CE/EE affecting all versions before 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. An issue was found that allows someone to abuse a discrepancy between the Web application display and the git command line interface to social engineer victims into cloning non-trusted code.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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存在安全漏洞,该漏洞源于允许攻击者利用Web应用显示与git命令行界面之间的差异,通过社会工程手段诱导受害者克隆非可信代码。以下版本受到影响:17.0.6之前版本、17.1到17.1.4之前版本、17.2到17.2.2之前版本。
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 ~ 17.0.6 cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2024-3958

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-3958

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

Same Patch Batch · GitLab · 2024-08-08 · 11 CVEs total

CVE-2024-3035 6.8 MEDIUM Authorization Bypass Through User-Controlled Key in GitLab
CVE-2024-2800 6.5 MEDIUM Uncontrolled Resource Consumption in GitLab
CVE-2024-5423 6.5 MEDIUM Uncontrolled Resource Consumption in GitLab
CVE-2024-4210 6.5 MEDIUM Uncontrolled Resource Consumption in GitLab
CVE-2024-6329 5.7 MEDIUM Improper Encoding or Escaping of Output in GitLab
CVE-2024-7554 4.9 MEDIUM Exposure of Sensitive Information to an Unauthorized Actor in GitLab
CVE-2024-4207 4.4 MEDIUM Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Gi
CVE-2024-3114 4.3 MEDIUM Uncontrolled Resource Consumption in GitLab
CVE-2024-7610 4.3 MEDIUM Uncontrolled Resource Consumption in GitLab
CVE-2024-4784 4.2 MEDIUM Authentication Bypass by Primary Weakness in GitLab

IV. Related Vulnerabilities

V. Comments for CVE-2024-3958

No comments yet


Leave a comment