CVE-2014-9652
file: out of bounds read in mconvert()
Overview
Description
The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.
Source: OX vulnerability database
Severity
5 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
AV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 18 fixes
Oracle Linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | php54 +5 | 2.0-1.el7 |
| 7 | file +4 | 5.11-31.el7 |
| 7 | php +24 | 5.4.16-36.el7_1 |
| 7 | php54-php +22 | 5.4.40-1.el7 |
| 7 | php55-php +24 | 5.5.21-2.el7 |
| 7 | php54-php-pecl-zendopcache | 7.0.4-3.el7 |
Red Hat 1 release · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | php55 +2 | 0:2.0-1.el7 | RHSA-2015:1053 |
| 7 | php54 +2 | 0:2.0-1.el7 | RHSA-2015:1066 |
| 7 | file +4 | 0:5.11-31.el7 | RHSA-2015:2155 |
| 7 | php +24 | 0:5.4.16-36.el7_1 | RHSA-2015:1135 |
| 7 | php54-php +22 | 0:5.4.40-1.el7 | RHSA-2015:1066 |
| 7 | php55-php +24 | 0:5.5.21-2.el7 | RHSA-2015:1053 |
1 more row
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | file | 1:5.21+15-1 |
| 12 | file | 1:5.21+15-1 |
| 13 | file | 1:5.21+15-1 |
| 14 | file | 1:5.21+15-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| file | 1:5.21+15-1 |
References
- bugs.gw.com http://bugs.gw.com/view.php?id=398
- lists.apple.com http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00002.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00004.html
- marc.info http://marc.info/?l=bugtraq&m=143748090628601&w=2
- marc.info http://marc.info/?l=bugtraq&m=144050155601375&w=2
- openwall.com http://openwall.com/lists/oss-security/2015/02/05/12
- php.net http://php.net/ChangeLog-5.php
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1053.html
Show all 27 references
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1066.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1135.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- www.securityfocus.com http://www.securityfocus.com/bid/72505
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-9652
- bugs.php.net https://bugs.php.net/bug.php?id=68735
- bugs.php.net https://bugs.php.net/patch-display.php?bug=68735&patch=bug68735.patch&revision=1420309079
- github.com https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158
- linux.oracle.com https://linux.oracle.com/cve/CVE-2014-9652.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2015-2155.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-9652
- security.gentoo.org https://security.gentoo.org/glsa/201701-42
- support.apple.com https://support.apple.com/HT205267
- ubuntu.com https://ubuntu.com/security/notices/USN-2501-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2014-9652
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.