GitLab 8.4 < 14.4.5 / 14.5.0 < 14.5.3 / 14.6.0 < 14.6.3 Incorrect Port Validation

medium Nessus Plugin ID 159959


A source control application running on the remote web server is affected by an incorrect port validation vulnerability.


According to its self-reported version, the instance of GitLab running on the remote web server is 8.4 prior to 14.4.5, 14.5.0 prior to 14.5.3, or 14.6.0 prior to 14.6.3. It is, therefore, affected by an incorrect port validation issue which could fail to protect against attacks sending requests to localhost on ports 80 and 443 if Gitlab was configured to run on a port other that 80 or 443.

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


Upgrade to GitLab version 14.4.5 / 14.5.3 / 14.6.3 or later.

See Also

Plugin Details

Severity: Medium

ID: 159959

File Name: gitlab_cve-2021-39927.nasl

Version: 1.4

Type: remote

Family: CGI abuses

Published: 4/20/2022

Updated: 7/26/2022

Risk Information


Risk Factor: Low

Score: 1.4


Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2021-39927


Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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: 1/18/2021

Vulnerability Publication Date: 1/18/2021

Reference Information

CVE: CVE-2021-39927

IAVA: 2022-A-0021-S