The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size calculation without considering the number of bytes occupied by multibyte characters, which allows attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via long UTF-8 strings.
References
Link | Resource |
---|---|
https://github.com/pixelb/coreutils/commit/bea5e36cc876ed627bb5e0eca36fdfaa6465e940 | Patch |
http://openwall.com/lists/oss-security/2015/05/15/1 | Exploit Mailing List Patch Third Party Advisory |
https://bugzilla.suse.com/show_bug.cgi?id=928749 | Issue Tracking Third Party Advisory |
Configurations
Information
Published : 2020-01-24 09:15
Updated : 2020-02-01 09:33
NVD link : CVE-2015-4041
Mitre link : CVE-2015-4041
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
gnu
- coreutils