Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539106 (CVE-2014-9653) - <sys-apps/file-5.22: malformed elf file causes access to uninitialized memory
Summary: <sys-apps/file-5.22: malformed elf file causes access to uninitialized memory
Status: RESOLVED FIXED
Alias: CVE-2014-9653
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: http://bugs.gw.com/view.php?id=409
Whiteboard: A3 [glsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-06 13:56 UTC by Agostino Sarubbo
Modified: 2017-01-17 09:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-02-06 13:56:53 UTC
From ${URL} :

It was reported [1][2] that a malformed elf file can cause file urility to access invalid memory.
Upstream fixes that correct this:
https://github.com/file/file/commit/445c8fb0ebff85195be94cd9f7e1df89cade5c7f
https://github.com/file/file/commit/e96f86b5311572be1360ee0bb05d4926f8df3189

[1]: http://mx.gw.com/pipermail/file/2014/001649.html
[2]: http://bugs.gw.com/view.php?id=409


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2015-06-17 17:21:37 UTC
CVE-2014-9653 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-9653):
  readelf.c in file before 5.22, 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
  consider that pread calls sometimes read only a subset of the available
  data, which allows remote attackers to cause a denial of service
  (uninitialized memory access) or possibly have unspecified other impact via
  a crafted ELF file.
Comment 2 SpanKY gentoo-dev 2016-04-11 17:24:09 UTC
5.22 is stable everywhere now
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-21 16:50:04 UTC
@ Security: Waiting for GLSA...
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-01-17 09:21:22 UTC
This issue was resolved and addressed in
 GLSA 201701-42 at https://security.gentoo.org/glsa/201701-42
by GLSA coordinator Aaron Bauman (b-man).