TkMan: Insecure temporary file usage — GLSA 200909-07

An insecure temporary file usage has been reported in TkMan, allowing for symlink attacks.

Affected packages

app-text/tkman on all architectures
Affected versions < 2.2-r1
Unaffected versions >= 2.2-r1

Background

TkMan is a graphical, hypertext manual page and Texinfo browser for UNIX.

Description

Dmitry E. Oboukhov reported that TkMan does not handle the "/tmp/tkman#####" and "/tmp/ll" temporary files securely.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All TkMan users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-text/tkman-2.2-r1"

References

Release date
September 09, 2009

Latest revision
September 09, 2009: 01

Severity
normal

Exploitable
local

Bugzilla entries