Lucene search

K
gentooGentoo FoundationGLSA-200412-11
HistoryDec 16, 2004 - 12:00 a.m.

Cscope: Insecure creation of temporary files

2004-12-1600:00:00
Gentoo Foundation
security.gentoo.org
13

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:L/Au:N/C:N/I:P/A:N

0.0004 Low

EPSS

Percentile

0.4%

Background

Cscope is a developer utility used to browse and manage source code.

Description

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.

Resolution

All Cscope users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-util/cscope-15.5-r2"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-util/cscope< 15.5-r2UNKNOWN

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:L/Au:N/C:N/I:P/A:N

0.0004 Low

EPSS

Percentile

0.4%