GitLab < 18.1.5 / 18.2 < 18.2.5 / 18.3 < 18.3.1 (CVE-2025-5101)

medium Nessus Plugin ID 258043

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 CE/EE affecting all versions before 18.1.5, 18.2 before 18.2.5, and 18.3 before 18.3.1 that under certain conditions could have allowed an authenticated attacker to distribute malicious code that appears harmless in the web interface by taking advantage of ambiguity between branches and tags during repository imports. (CVE-2025-5101)

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 18.1.5, 18.2.5, 18.3.1 or later.

See Also

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

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

https://hackerone.com/reports/3124199

Plugin Details

Severity: Medium

ID: 258043

File Name: gitlab_cve-2025-5101.nasl

Version: 1.1

Type: combined

Agent: unix

Family: CGI abuses

Published: 8/27/2025

Updated: 8/27/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.1

CVSS v2

Risk Factor: Low

Base Score: 3.7

Temporal Score: 2.7

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

CVSS Score Source: CVE-2025-5101

CVSS v3

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.4

Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/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/27/2025

Vulnerability Publication Date: 8/27/2025

Reference Information

CVE: CVE-2025-5101