libgsf: Buffer overflow — GLSA 200612-13

libgsf improperly allocates memory allowing for a heap overflow and possibly the execution of arbitrary code.

Affected packages

gnome-extra/libgsf on all architectures
Affected versions < 1.14.2
Unaffected versions >= 1.14.2

Background

The GNOME Structured File Library is an I/O library that can read and write common file types and handle structured formats that provide file-system-in-a-file semantics.

Description

"infamous41md" has discovered that the "ole_init_info" function may allocate too little memory for storing the contents of an OLE document, resulting in a heap buffer overflow.

Impact

An attacker could entice a user to open a specially crafted OLE document, and possibly execute arbitrary code with the rights of the user opening the document.

Workaround

There is no known workaround at this time.

Resolution

All libgsf users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=gnome-extra/libgsf-1.14.2"

References

Release date
December 12, 2006

Latest revision
December 12, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries