GLSA-200412-11 : Cscope: Insecure creation of temporary files

low Nessus Plugin ID 15989

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200412-11 (Cscope: Insecure creation of temporary files)

Cscope creates temporary files in world-writable directories with predictable names.
Impact :

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem.
When Cscope is executed, this would result in the file being overwritten with the rights of the user running the utility, which could be the root user.
Workaround :

There is no known workaround at this time.

Solution

All Cscope users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-util/cscope-15.5-r2'

See Also

https://www.securityfocus.com/archive/1/381443

https://security.gentoo.org/glsa/200412-11

Plugin Details

Severity: Low

ID: 15989

File Name: gentoo_GLSA-200412-11.nasl

Version: 1.18

Type: local

Published: 12/17/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cscope, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 12/16/2004

Reference Information

CVE: CVE-2004-0996

GLSA: 200412-11