GitLab 15.7 < 17.6.5 / 17.7 < 17.7.4 / 17.8 < 17.8.2 (CVE-2025-1042)

medium Nessus Plugin ID 216188

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 insecure direct object reference vulnerability in GitLab EE affecting all versions from 15.7 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2 allows an attacker to view repositories in an unauthorized way. (CVE-2025-1042)

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 17.6.5, 17.7.4, 17.8.2 or later.

See Also

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

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

https://hackerone.com/reports/2886976

Plugin Details

Severity: Medium

ID: 216188

File Name: gitlab_cve-2025-1042.nasl

Version: 1.2

Type: combined

Agent: unix

Family: CGI abuses

Published: 2/12/2025

Updated: 2/14/2025

Configuration: Enable thorough checks

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

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

CVSS Score Source: CVE-2025-1042

CVSS v3

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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: 2/12/2025

Vulnerability Publication Date: 2/12/2025

Reference Information

CVE: CVE-2025-1042

IAVA: 2025-A-0094