file: mconvert incorrect handling of truncated pascal string size
Published Jul 9, 2014
6.5
MEDIUMCVSS 3.1
EPSS 15.18%
Description
Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion.
Affected products
No data.
- ≤ 5.18
- 5.00
- 5.01
- 5.02
- 5.03
- 5.04
- 5.05
- 5.06
- 5.07
- 5.08
- 5.09
- 5.10
- 5.11
- 5.12
- 5.13
- 5.14
- 5.15
- 5.16
- 5.17
- ≤ 5.4.29
- 5.4.0
- 5.4.1
- 5.4.2
- 5.4.3
- 5.4.4
- 5.4.5
- 5.4.6
- 5.4.7
- 5.4.8
- 5.4.9
- 5.4.10
- 5.4.11
- 5.4.12
- 5.4.12
- 5.4.12
- 5.4.13
- 5.4.13
- 5.4.14
- 5.4.14
- 5.4.15
- 5.4.16
- 5.4.17
- 5.4.18
- 5.4.19
- 5.4.20
- 5.4.21
- 5.4.22
- 5.4.23
- 5.4.24
- 5.4.25
- 5.4.26
- 5.4.27
- 5.4.28
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
No data.
Red Hat Enterprise Linux 7
file-0:5.11-31.el7
Fixed · RHSA-2015:2155
Red Hat Enterprise Linux 7
php-0:5.4.16-23.el7_0.1
Fixed · RHSA-2014:1327
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php54-php-0:5.4.16-22.el7
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php55-php-0:5.5.6-13.el7
Fixed · RHSA-2014:1766
Red Hat Enterprise Linux 5
cdrtools
Not affected
Red Hat Enterprise Linux 5
file
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 5
rpm
Affected
Red Hat Enterprise Linux 6
file
Not affected
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | file-0:5.11-31.el7 | Fixed | RHSA-2015:2155 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-23.el7_0.1 | Fixed | RHSA-2014:1327 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php54-php-0:5.4.16-22.el7 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php55-php-0:5.5.6-13.el7 | Fixed | RHSA-2014:1766 |
| Red Hat Enterprise Linux 5 | cdrtools | Not affected | n/a |
| Red Hat Enterprise Linux 5 | file | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 5 | rpm | Affected | n/a |
| Red Hat Enterprise Linux 6 | file | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of file, php, and php53 as shipped with Red Hat Enterprise Linux 5 and 6. This issue affects the versions of file as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
References (23)
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00046.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=141017844705317&w=2 vendor-advisoryx_refsource_HP
- http://mx.gw.com/pipermail/file/2014/001553.html mailing-listx_refsource_MLIST
- http://rhn.redhat.com/errata/RHSA-2014-1327.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-1765.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2014-1766.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/59794 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/59831 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT6443 x_refsource_CONFIRM
- http://www.debian.org/security/2014/dsa-2974 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2014/dsa-3021 vendor-advisoryx_refsource_DEBIAN
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/68239 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2014-3478 Vendor Advisory
- https://bugs.php.net/bug.php?id=67410 x_refsource_CONFIRMPatch
- https://bugzilla.redhat.com/show_bug.cgi?id=1104863 Issue Tracking
- https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08 x_refsource_CONFIRMExploitPatch
- https://nvd.nist.gov/vuln/detail/CVE-2014-3478
- https://support.apple.com/HT204659 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2014-3478
Change history (0)
No recorded changes yet.