Gentoo: Blender Heap-based buffer overflow
Posted by Benjamin D. Thomas   
Gentoo Blender is vulnerable to a buffer overflow that may be exploited by attackers to execute arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200601-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Blender: Heap-based buffer overflow
      Date: January 13, 2006
      Bugs: #118163
        ID: 200601-08

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

Synopsis
========

Blender is vulnerable to a buffer overflow that may be exploited by
attackers to execute arbitrary code.

Background
==========

Blender is an open source software for 3D modeling, animation,
rendering, post-production, interactive creation and playback.

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

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  media-gfx/blender       < 2.40                            >= 2.40

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

Damian Put has reported a flaw due to an integer overflow in the
"get_bhead()" function, leading to a heap overflow when processing
malformed ".blend" files.

Impact
======

A remote attacker could entice a user into opening a specially crafted
".blend" file, resulting in the execution of arbitrary code with the
permissions of the user running Blender.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Blender users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-gfx/blender-2.40"

References
==========

  [ 1 ] CVE-2005-4470
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4470

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

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

  http://security.gentoo.org/glsa/glsa-200601-08.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
http://bugs.gentoo.org.

License
=======

Copyright 2006 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.0