Size_t Overflow in allocate_structures Function in sysstat (Versions 9.1.16 to 12.7.1) Leading to Remote Code Execution

Size_t Overflow in allocate_structures Function in sysstat (Versions 9.1.16 to 12.7.1) Leading to Remote Code Execution

CVE-2022-39377 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

sysstat is a set of system performance tools for the Linux operating system. On 32 bit systems, in versions 9.1.16 and newer but prior to 12.7.1, allocate_structures contains a size_t overflow in sa_common.c. The allocate_structures function insufficiently checks bounds before arithmetic multiplication, allowing for an overflow in the size allocated for the buffer representing system activities. This issue may lead to Remote Code Execution (RCE). This issue has been patched in version 12.7.1.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.