Patch  oval:com.redhat.rhsa:def:20141606
RHSA-2014:1606: file security and bug fix update (Moderate)  

The "file" command is used to identify a particular file according to the type of data contained in the file. The command can identify various file types, including ELF binaries, system libraries, RPM packages, and different graphics formats.
Multiple denial of service flaws were found in the way file parsed certain Composite Document Format (CDF) files. A remote attacker could use either of these flaws to crash file, or an application using file, via a specially crafted CDF file. (CVE-2014-0237, CVE-2014-0238, CVE-2014-3479, CVE-2014-3480, CVE-2012-1571)
Two denial of service flaws were found in the way file handled indirect and search rules. A remote attacker could use either of these flaws to cause file, or an application using file, to crash or consume an excessive amount of CPU. (CVE-2014-1943, CVE-2014-2270)
This update also fixes the following bugs:
* Previously, the output of the "file" command contained redundant white spaces. With this update, the new STRING_TRIM flag has been introduced to remove the unnecessary white spaces. (BZ#664513)
* Due to a bug, the "file" command could incorrectly identify an XML document as a LaTex document. The underlying source code has been modified to fix this bug and the command now works as expected. (BZ#849621)
* Previously, the "file" command could not recognize .JPG files and incorrectly labeled them as "Minix filesystem". This bug has been fixed and the command now properly detects .JPG files. (BZ#873997)
* Under certain circumstances, the "file" command incorrectly detected NETpbm files as "x86 boot sector". This update applies a patch to fix this bug and the command now detects NETpbm files as expected. (BZ#884396)
* Previously, the "file" command incorrectly identified ASCII text files as a .PIC image file. With this update, a patch has been provided to address this bug and the command now correctly recognizes ASCII text files. (BZ#980941)
* On 32-bit PowerPC systems, the "from" field was missing from the output of the "file" command. The underlying source code has been modified to fix this bug and "file" output now contains the "from" field as expected. (BZ#1037279)
* The "file" command incorrectly detected text files as "RRDTool DB version ool - Round Robin Database Tool". This update applies a patch to fix this bug and the command now correctly detects text files. (BZ#1064463)
* Previously, the "file" command supported only version 1 and 2 of the QCOW format. As a consequence, file was unable to detect a "qcow2 compat=1.1" file created on Red Hat Enterprise Linux 7. With this update, support for QCOW version 3 has been added so that the command now detects such files as expected. (BZ#1067771)
All file users are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
Create Date: 2014-10-13 Last Update Date: 2014-10-14

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: unix (from OVAL definitions)
  • Red Hat Enterprise Linux 6

References

Criteria

The patch should be installed
IF : Any one of the following are true
IF : Red Hat Enterprise Linux must be installed
WARNING! Unknown test oval:com.redhat.rhba:tst:20070026004. Please see help for possible reasons
IF : All of the following are true
IF : Red Hat Enterprise Linux 6 is installed
WARNING! Unknown test oval:com.redhat.rhba:tst:20111656003. Please see help for possible reasons
IF : Any one of the following are true
IF : All of the following are true
IF : file is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  python-magic is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20141606007 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : file is earlier than 0:5.04-21.el6
Linux : RPM Test :  python-magic is earlier than 0:5.04-21.el6 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20141606007 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.04-21.el6 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : file-libs is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  file-static is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20141606006 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : file-libs is earlier than 0:5.04-21.el6
Linux : RPM Test :  file-static is earlier than 0:5.04-21.el6 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20141606006 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.04-21.el6 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : python-magic is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  file is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070124002 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : python-magic is earlier than 0:5.04-21.el6
Linux : RPM Test :  file is earlier than 0:5.04-21.el6 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070124002 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.04-21.el6 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : file-static is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhsa:tst:20141606004. Please see help for possible reasons
IF : file-static is earlier than 0:5.04-21.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20141606003. Please see help for possible reasons
IF : All of the following are true
IF : file-devel is earlier than 0:5.04-21.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20141606001. Please see help for possible reasons
IF : file-devel is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhsa:tst:20141606002. Please see help for possible reasons

Quick Help

Unknown Tests
There is a hardcoded maximum limit for number of tests displayed for a definition. For a small number of oval definitions, about ~1% of all, hundreds of test have been defined. This causes the pages to grow in size, exceed even 1mb, and they are unsuitable for display in a web page. So they are not displayed.Please refer to the xml definition files if you really want to view them.
evr_string datatype
Represents epoch, version, and release number as a single version string
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss. PLEASE SEE nvd.nist.gov and oval.mitre.org for more details about OVAL language and definitions.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at http://oval.mitre.org/oval/about/termsofuse.html