portage-ng / portage / app-i18n / skktools / 1.3.4-r1
portage-ng glsa
1 advisory reference app-i18n/skktools · none place version 1.3.4-r1 in a vulnerable range
▸ GLSA 200710-10 SKK Tools: Insecure temporary file creation this version unaffected normal local 2007-10-12

SKK insecurely creates temporary files.

Announced
2007-10-12
Revised
2007-10-12
Access
local
Bugs
#193121
Advisory
https://security.gentoo.org/glsa/200710-10

Affected packages

PackageArchVulnerableUnaffected
app-i18n/skktools*< 1.2-r1>= 1.2-r1

Background

SKK is a Japanese input method for Emacs.

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:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-i18n/skktools-1.2-r1"

References