OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[ GLSA 200709-04 ] po4a: Insecure temporary file creation

From: Raphael Marichez (falcogentoo.org)
Date: Thu Sep 13 2007 - 15:18:36 CDT


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200709-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: po4a: Insecure temporary file creation
      Date: September 13, 2007
      Bugs: #189440
        ID: 200709-04

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability has been discovered in po4a, allowing for a symlink
attack.

Background
==========

po4a is a set of tools for helping with the translation of
documentation.

Affected packages
=================

    -------------------------------------------------------------------
     Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
  1 app-text/po4a < 0.32-r1 >= 0.32-r1

Description
===========

The po4a development team reported a race condition in the gettextize()
function when creating the file "/tmp/gettextization.failed.po".

Impact
======

A local attacker could perform a symlink attack, possibly overwriting
files with the permissions of the user running po4a.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All po4a users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-text/po4a-0.32-r1"

References
==========

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

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200709-04.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
securitygentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iQEVAwUBRumbGzvRww8BFPxFAQJR3Af+P3aJ0oYXQc6Z5l2+nuuPsIburwbTL4NO
y9qBai2ZODEj52CfQ9IZ8Vgp8R5krdZEMiYGiJMPXCCoiRABvWIKAbJiYgu4sctU
TVEoXIYrUpHctRmDaZYKLPNwHMLs+jOVojK1jx6F4d/zXEcUSEprVZ6GjiBqNm1C
IkoJJ/NgBQ2QWwNqdmSGoa9OsBXIhhvMK+zgcLMbB9HRVzU3de7y4XJmXaDaw82y
gVHyytBuv+qQedlMN9uickflY/ojdBDWB9VsH9QrnvcesrfCb9FXCeGXTERLDvg7
OI9Onuqopb3B3UnzjGy4Bny2+JqpolHZeJ0kwPjErQzpch2OBQNtuw==
=seIk
-----END PGP SIGNATURE-----