Debian DSA-4263-1 : cgit - security update

Medium 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: Medium

ID: 111536

File Name: debian_DSA-4263.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2018/08/06

Modified: 2018/11/13

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

CVSS v3.0

Base Score: 7.5

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

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

Patch Publication Date: 2018/08/04

Reference Information

CVE: CVE-2018-14912

DSA: 4263