procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep. This vulnerability is mitigated by FORTIFY, as it involves strncat() to a stack-allocated string. When pgrep is compiled with FORTIFY (as on Red Hat Enterprise Linux and Fedora), the impact is limited to a crash.
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1125 | issue tracking |
https://usn.ubuntu.com/3658-1/ | third party advisory vendor advisory |
https://www.debian.org/security/2018/dsa-4208 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/05/msg00021.html | third party advisory mailing list |
https://usn.ubuntu.com/3658-3/ | third party advisory vendor advisory |
http://www.securityfocus.com/bid/104214 | third party advisory vdb entry |
http://seclists.org/oss-sec/2018/q2/122 | third party advisory mailing list |
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt | third party advisory exploit |
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00058.html | vendor advisory mailing list third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00059.html | vendor advisory mailing list third party advisory |