GLSA 200706-01: libexif: Integer overflow vulnerability

Severity:normal
Title:libexif: Integer overflow vulnerability
Date:06/05/2007
Bugs: #178081
ID:200706-01

Synopsis

libexif fails to handle Exif (EXchangeable Image File) data inputs, making it vulnerable to an integer overflow.

Background

libexif is a library for parsing, editing and saving Exif data.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libexif < 0.6.15 >= 0.6.15 All supported architectures

Description

Victor Stinner reported an integer overflow in the exif_data_load_data_entry() function from file exif-data.c while handling Exif data.

Impact

An attacker could entice a user to process a file with specially crafted Exif extensions with an application making use of libexif, which will trigger the integer overflow and potentially execute arbitrary code or crash the application.

Workaround

There is no known workaround at this time.

Resolution

All libexif users should upgrade to the latest version. Please note that users upgrading from "<=media-libs/libexif-0.6.13" should also run revdep-rebuild after their upgrade.

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/libexif-0.6.15"
    # revdep-rebuild --library=/usr/lib/libexif.so

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200706-01.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!