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 1223813 - (CVE-2015-4041) CVE-2015-4041 coreutils: heap buffer overflow in sort(1) keycompare_mb()
CVE-2015-4041 coreutils: heap buffer overflow in sort(1) keycompare_mb()
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
https://engineering.redhat.com/rt/Tic...
impact=low,public=20150427,reported=2...
: Security
Depends On: 1223821
Blocks: 1223819
  Show dependency treegraph
 
Reported: 2015-05-21 09:25 EDT by Vasyl Kaigorodov
Modified: 2015-07-01 03:52 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-06-30 09:48:56 EDT
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 Vasyl Kaigorodov 2015-05-21 09:25:45 EDT
It was reported that a heap overflow can be triggered in sort(1).
This appears to be caused by performing a size calculation without properly considering the number of bytes occupied by multibyte characters.

Initial report: https://bugzilla.suse.com/show_bug.cgi?id=928749
Fix: https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940
CVE assignment: http://seclists.org/oss-sec/2015/q2/502
Comment 1 Vasyl Kaigorodov 2015-05-21 09:35:25 EDT
Created coreutils tracking bugs for this issue:

Affects: fedora-all [bug 1223821]
Comment 2 Ondrej Vasik 2015-05-22 04:02:59 EDT
I believe heap buffer overflow affects only older versions of sort i18n patch (IOW only one of CVEs is valid for current Fedora patch, another one is valid only for RHEL 6 and older). LC_ALL=C sort code path is completely unaffected. Do you plan to create RHEL 6/7 bz for this CVE? Actually I think this (and previous similar flaws in i18n patch that got CVE as well) was the primary reason why P.Brady contacted secalert about this issue.

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