GLSA 200812-14: aview: Insecure temporary file usage

Severity:normal
Title:aview: Insecure temporary file usage
Date:12/14/2008
Bugs: #235808
ID:200812-14

Synopsis

An insecure temporary file usage has been reported in aview, leading to symlink attacks.

Background

aview is an ASCII image viewer and animation player.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/aview < 1.3.0_rc1-r1 >= 1.3.0_rc1-r1 All supported architectures

Description

Dmitry E. Oboukhov reported that aview uses the "/tmp/aview$$.pgm" file in an insecure manner when processing files.

Impact

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

Workaround

There is no known workaround at this time.

Resolution

All aview users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-gfx/aview-1.3.0_rc1-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200812-14.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!