GitLab 11.9 < 13.8.8 / 13.9 < 13.9.6 / 13.10 < 13.10.3 (CVE-2021-22205)

critical Nessus Plugin ID 159925

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 starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution. (CVE-2021-22205)

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 13.8.8, 13.9.6, 13.10.3 or later.

See Also

http://www.nessus.org/u?2aa69d1c

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

https://hackerone.com/reports/1154542

Plugin Details

Severity: Critical

ID: 159925

File Name: gitlab_cve-2021-22205.nasl

Version: 1.7

Type: combined

Agent: unix

Family: CGI abuses

Published: 4/20/2022

Updated: 10/23/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 10.0

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

CVSS Score Source: CVE-2021-22205

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9.5

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

Temporal Vector: CVSS:3.0/E:H/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: 4/23/2021

Vulnerability Publication Date: 4/23/2021

CISA Known Exploited Vulnerability Due Dates: 11/17/2021

Exploitable With

Metasploit (GitLab Unauthenticated Remote ExifTool Command Injection)

Reference Information

CVE: CVE-2021-22205

IAVA: 2021-A-0523-S