<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200812-14 ] aview: Insecure temporary file usage



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200812-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: aview: Insecure temporary file usage
      Date: December 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
    -------------------------------------------------------------------
  1  media-gfx/aview     < 1.3.0_rc1-r1                >= 1.3.0_rc1-r1

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
==========

  [ 1 ] CVE-2008-4935
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4935

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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 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.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: signature.asc
Description: OpenPGP digital signature