Debian DSA-4263-1 : cgit - security update

high Nessus Plugin ID 111536

Synopsis

The remote Debian host is missing a security-related update.

Description

Jann Horn discovered a directory traversal vulnerability in cgit, a fast web frontend for git repositories written in C. A remote attacker can take advantage of this flaw to retrieve arbitrary files via a specially crafted request, when 'enable-http-clone=1' (default) is not turned off.

Solution

Upgrade the cgit packages.

For the stable distribution (stretch), this problem has been fixed in version 1.1+git2.10.2-3+deb9u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905382

https://security-tracker.debian.org/tracker/source-package/cgit

https://packages.debian.org/source/stretch/cgit

https://www.debian.org/security/2018/dsa-4263

Plugin Details

Severity: High

ID: 111536

File Name: debian_DSA-4263.nasl

Version: 1.5

Type: local

Agent: unix

Published: 8/6/2018

Updated: 4/5/2019

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:cgit, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/4/2018

Reference Information

CVE: CVE-2018-14912

DSA: 4263