Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1167548 - (CVE-2014-9471) CVE-2014-9471 coreutils: memory corruption flaw in parse_datetime()
CVE-2014-9471 coreutils: memory corruption flaw in parse_datetime()
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20140225,reported=2...
: Security
Depends On: 1069657 1167549 1185947
Blocks: 1167550
  Show dependency treegraph
 
Reported: 2014-11-24 23:51 EST by Murray McAllister
Modified: 2016-06-13 06:58 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-17 13:59:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Murray McAllister 2014-11-24 23:51:43 EST
A memory corruption flaw was reported in parse_datetime(). If an application using parse_datetime(), such as touch or date, accepted untrusted input, it could cause the application to crash or, potentially, execute arbitrary code.

Patch:

http://debbugs.gnu.org/cgi/bugreport.cgi?msg=11;filename=date-tz-crash.patch;att=1;bug=16872

References:
http://seclists.org/oss-sec/2014/q4/782
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16872
Comment 1 Murray McAllister 2014-11-24 23:52:46 EST
Created coreutils tracking bugs for this issue:

Affects: fedora-all [bug 1167549]
Comment 2 Ondrej Vasik 2014-11-25 03:50:29 EST
I believe this vulnerability was already addressed in F20+ Fedora (e.g. http://pkgs.fedoraproject.org/cgit/coreutils.git/commit/?h=f20 , https://bugzilla.redhat.com/show_bug.cgi?id=1069657 ). I consider this as a corner case - actually the issue is there since 5.3.0 , so RHEL-5+ are affected. That's the primary reason why I fixed that only in F20+. I'm going to close the F20 one as duplicate and keeping the tracking one opened. F19 was not yet fixed, if you believe this is imporant enough to issue a fix for f19, I can do that. Still, RHEL5+ are affected as I said.
Comment 3 Martin Prpič 2014-12-02 09:40:51 EST
In coreutils 8.4 (shipped with RHEL5 and 6), this is limited to an indefinite hang and 100% CPU consumption.

The affected function in coreutils 8.4 is get_date().

Reproducers:

$ touch '--date=TZ="123"345" @1'
$ date '--date=TZ="123"345" @1'
Comment 5 Martin Prpič 2015-01-06 04:29:05 EST
MITRE assigned CVE-2014-9471 to this issue: http://seclists.org/oss-sec/2015/q1/17
Comment 7 Vincent Danen 2015-02-17 13:59:49 EST
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

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