RedHat: RHSA-2015-0301:02 Moderate: hivex security, bug fix,
Summary
Hive files are undocumented binary files that Windows uses to store the
Windows Registry on disk. Hivex is a library that can read and write to
these files.
It was found that hivex attempted to read beyond its allocated buffer when
reading a hive file with a very small size or with a truncated or
improperly formatted content. An attacker able to supply a specially
crafted hive file to an application using the hivex library could possibly
use this flaw to execute arbitrary code with the privileges of the user
running that application. (CVE-2014-9273)
Red Hat would like to thank Mahmoud Al-Qudsi of NeoSmart Technologies for
reporting this issue.
The hivex package has been upgraded to upstream version 1.3.10, which
provides a number of bug fixes and enhancements over the previous version.
(BZ#1023978)
This update also fixes the following bugs:
* Due to an error in the hivex_value_data_cell_offset() function, the hivex
utility could, in some cases, print an "Argument list is too long" message
and terminate unexpectedly when processing hive files from the Windows
Registry. This update fixes the underlying code and hivex now processes
hive files as expected. (BZ#1145056)
* A typographical error in the Win::Hivex.3pm manual page has been
corrected. (BZ#1099286)
Users of hivex are advised to upgrade to these updated packages, which
correct these issues and adds these enhancements.
Summary
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
For details on how to apply this update, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2014-9273 https://access.redhat.com/security/updates/classification/#moderate
Package List
Red Hat Enterprise Linux Client (v. 7):
Source:
hivex-1.3.10-5.7.el7.src.rpm
x86_64:
hivex-1.3.10-5.7.el7.i686.rpm
hivex-1.3.10-5.7.el7.x86_64.rpm
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
perl-hivex-1.3.10-5.7.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64:
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
hivex-devel-1.3.10-5.7.el7.i686.rpm
hivex-devel-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-devel-1.3.10-5.7.el7.x86_64.rpm
python-hivex-1.3.10-5.7.el7.x86_64.rpm
ruby-hivex-1.3.10-5.7.el7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
hivex-1.3.10-5.7.el7.src.rpm
x86_64:
hivex-1.3.10-5.7.el7.i686.rpm
hivex-1.3.10-5.7.el7.x86_64.rpm
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
perl-hivex-1.3.10-5.7.el7.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
x86_64:
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
hivex-devel-1.3.10-5.7.el7.i686.rpm
hivex-devel-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-devel-1.3.10-5.7.el7.x86_64.rpm
python-hivex-1.3.10-5.7.el7.x86_64.rpm
ruby-hivex-1.3.10-5.7.el7.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
hivex-1.3.10-5.7.el7.src.rpm
x86_64:
hivex-1.3.10-5.7.el7.i686.rpm
hivex-1.3.10-5.7.el7.x86_64.rpm
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
perl-hivex-1.3.10-5.7.el7.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64:
hivex-debuginfo-1.3.10-5.7.el7.i686.rpm
hivex-debuginfo-1.3.10-5.7.el7.x86_64.rpm
hivex-devel-1.3.10-5.7.el7.i686.rpm
hivex-devel-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-1.3.10-5.7.el7.x86_64.rpm
ocaml-hivex-devel-1.3.10-5.7.el7.x86_64.rpm
python-hivex-1.3.10-5.7.el7.x86_64.rpm
ruby-hivex-1.3.10-5.7.el7.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
Updated hivex packages that fix one security issue, several bugs, and addvarious enhancements are now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having Moderate securityimpact. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available from the CVE link in theReferences section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64
Bugs Fixed
1023978 - Rebase hivex in RHEL 7.1
1099286 - typo error in man page
1145056 - hivexml generate "Argument list too long" on some Windows Registry
1158992 - CVE-2014-9273 hivex: missing checks for small-sized files [rhel-7.1]
1167756 - CVE-2014-9273 hivex: missing checks for small-sized files