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)
Affected Packages:
procps-ng
Issue Correction:
Run yum update procps-ng to update your system.
src:
procps-ng-3.3.10-17.amzn2.2.src
x86_64:
procps-ng-3.3.10-17.amzn2.2.x86_64
procps-ng-devel-3.3.10-17.amzn2.2.x86_64
procps-ng-i18n-3.3.10-17.amzn2.2.x86_64
procps-ng-debuginfo-3.3.10-17.amzn2.2.x86_64