GitLab 0 < 16.0.8 / 16.1.0 < 16.1.3 / 16.2.0 < 16.2.2 (CVE-2023-3401)

medium Nessus Plugin ID 179169

Synopsis

The version of GitLab installed on the remote host is affected by a vulnerability.

Description

The version of GitLab installed on the remote host is affected by a vulnerability, as follows:

- An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code. (CVE-2023-3401)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to GitLab version 16.0.8, 16.1.3, 16.2.2 or later.

See Also

http://www.nessus.org/u?e40b2f3b

https://gitlab.com/gitlab-org/gitlab/-/issues/416252

https://hackerone.com/reports/2031845

Plugin Details

Severity: Medium

ID: 179169

File Name: gitlab_cve-2023-3401.nasl

Version: 1.6

Type: combined

Agent: unix

Family: CGI abuses

Published: 8/1/2023

Updated: 5/17/2024

Configuration: Enable thorough checks

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:N

CVSS Score Source: CVE-2023-3401

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:gitlab:gitlab

Required KB Items: installed_sw/GitLab

Exploit Ease: No known exploits are available

Patch Publication Date: 8/1/2023

Vulnerability Publication Date: 8/1/2023

Reference Information

CVE: CVE-2023-3401

IAVA: 2023-A-0389-S