Amazon Linux 2 Security Advisory: ALAS-2018-1031
Advisory Release Date: 2018-06-07 23:26 Pacific
Advisory Updated Date: 2018-06-11 22:05 Pacific
Multiple integer overflows leading to heap corruption flaws were discovered in file2strvec(). These vulnerabilities can lead to privilege escalation for a local attacker who can create entries in procfs by starting processes, which will lead to crashes or arbitrary code execution in proc utilities run by other users (eg pgrep, pkill, pidof, w).(CVE-2018-1124)
A flaw was found where procps-ng provides wrappers for standard C allocators that took `unsigned int` instead of `size_t` parameters. On platforms where these differ (such as x86_64), this could cause integer truncation, leading to undersized regions being returned to callers that could then be overflowed. The only known exploitable vector for this issue is CVE-2018-1124.(CVE-2018-1126)
Run yum update procps-ng to update your system.