GitLab 15.10 < 17.3.6 / 17.4 < 17.4.3 / 17.5 < 17.5.1 (CVE-2024-8312)

medium Nessus Plugin ID 209627

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 from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS. (CVE-2024-8312)

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.3.6, 17.4.3, 17.5.1 or later.

See Also

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

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

https://hackerone.com/reports/2659386

Plugin Details

Severity: Medium

ID: 209627

File Name: gitlab_cve-2024-8312.nasl

Version: 1.4

Type: combined

Agent: unix

Family: CGI abuses

Published: 10/24/2024

Updated: 12/16/2024

Configuration: Enable thorough checks

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2024-8312

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

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

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

Vulnerability Information

CPE: cpe:/a:gitlab:gitlab

Required KB Items: installed_sw/GitLab

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/24/2024

Vulnerability Publication Date: 10/24/2024

Reference Information

CVE: CVE-2024-8312

IAVA: 2024-A-0693-S