GLSA 201503-07: hivex: User-assisted execution of arbitrary code

Severity:normal
Title:hivex: User-assisted execution of arbitrary code
Date:03/14/2015
Bugs: #490990
ID:201503-07

Synopsis

An out-of-bounds error in hivex may result in execution of arbitrary code or Denial of Service.

Background

hivex is a library for reading and writing Windows Registry ‘hive’ binary files.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-misc/hivex < 1.3.11 >= 1.3.11 All supported architectures

Description

Manipulating a short or truncated hive file may trigger an out-of-bounds read or write in hivex.

Impact

A context-dependent attacker could cause an application linked against hivex to pass a short or truncated hive file, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All hivex users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-misc/hivex-1.3.11"
    

References

Availability

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