Bug 805197 (CVE-2012-1571) - CVE-2012-1571 file: out of bounds read in CDF parser
Summary: CVE-2012-1571 file: out of bounds read in CDF parser
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-1571
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1114438 1114520 1114521 1119563 1119564 1120503 1120504
Blocks: 735399 1065838 1101912
TreeView+ depends on / blocked
 
Reported: 2012-03-20 16:29 UTC by Jan Lieskovsky
Modified: 2021-02-24 12:51 UTC (History)
12 users (show)

Fixed In Version: file 5.11
Doc Type: Bug Fix
Doc Text:
A denial of service flaw was found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file.
Clone Of:
Environment:
Last Closed: 2014-10-31 10:37:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1012 0 normal SHIPPED_LIVE Moderate: php53 and php security update 2014-08-06 09:14:44 UTC
Red Hat Product Errata RHSA-2014:1606 0 normal SHIPPED_LIVE Moderate: file security and bug fix update 2014-10-14 01:39:32 UTC

Description Jan Lieskovsky 2012-03-20 16:29:05 UTC
Multiple out-of heap-based buffer read flaws and invalid pointer dereference flaws were found in the way file, utility for determining of file types processed header section for certain Composite Document Format (CDF) files. A remote attacker could provide a specially-crafted CDF file, which once inspected by the file utility of the victim would lead to file executable crash.

Upstream patches:
https://github.com/file/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295
https://github.com/file/file/commit/1140872578eedaeecf828f1841d17ff574372dba
https://github.com/file/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b

References:
http://mx.gw.com/pipermail/file/2012/000914.html
http://www.openwall.com/lists/oss-security/2012/02/20/7
http://www.debian.org/security/2012/dsa-2422
http://mx.gw.com/pipermail/file/2012/000915.html
http://mx.gw.com/pipermail/file/2012/000916.html

Comment 1 Jan Lieskovsky 2012-03-20 16:32:20 UTC
This issue did NOT affect the version of the file package, as shipped with Red Hat Enterprise Linux 5 as it did not include support for processing of Composite Document Files (CDF) yet.

--

This issue affects the version of the file package, as shipped with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the file package, as shipped with Fedora release of 15 and 16.

Comment 3 Jan Lieskovsky 2012-03-20 17:12:37 UTC
CVE request:
[8] http://www.openwall.com/lists/oss-security/2012/03/20/11

Comment 4 Kurt Seifried 2012-03-20 17:19:20 UTC
Added CVE as per http://www.openwall.com/lists/oss-security/2012/03/20/11

Comment 5 Jan Lieskovsky 2012-03-20 17:32:46 UTC
Statement:

This issue did not affect the versions of the php and file packages as shipped with Red Hat Enterprise Linux 5 and 7.

Comment 7 Francisco Alonso 2014-06-30 06:08:27 UTC
Created file tracking bugs for this issue:

Affects: fedora-all [bug 1114438]

Comment 10 Fedora Update System 2014-07-05 14:53:22 UTC
file-5.19-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Martin Prpič 2014-07-28 11:12:25 UTC
IssueDescription:

A denial of service flaw was found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file.

Comment 16 errata-xmlrpc 2014-08-06 05:15:08 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2014:1012 https://rhn.redhat.com/errata/RHSA-2014-1012.html

Comment 17 errata-xmlrpc 2014-10-14 08:29:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1606 https://rhn.redhat.com/errata/RHSA-2014-1606.html


Note You need to log in before you can comment on or make changes to this bug.