GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Fri Oct 12, 2007 9:26 pm Post subject: [ GLSA 200710-10 ] SKK Tools: Insecure temporary file creati |
|
|
Gentoo Linux Security Advisory
Title: SKK Tools: Insecure temporary file creation (GLSA 200710-10)
Severity: normal
Exploitable: local
Date: October 12, 2007
Bug(s): #193121
ID: 200710-10
Synopsis
SKK insecurely creates temporary files.
Background
SKK is a Japanese input method for Emacs.
Affected Packages
Package: app-i18n/skktools
Vulnerable: < 1.2-r1
Unaffected: >= 1.2-r1
Architectures: All supported architectures
Description
skkdic-expr.c insecurely writes temporary files to a location in the form $TMPDIR/skkdic$PID.{pag,dir,db}, where $PID is the process ID.
Impact
A local attacker could create symbolic links in the directory where the temporary files are written, pointing to a valid file somewhere on the filesystem that is writable by the user running the SKK software. When SKK writes the temporary file, the target valid file would then be overwritten with the contents of the SKK temporary file.
Workaround
There is no known workaround at this time.
Resolution
All SKK Tools users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-i18n/skktools-1.2-r1" |
References
CVE-2007-3916 |
|