CVE-2022-39377CWE-120CWE-131

sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow

High · published November 8, 2022

CVSS v3.1
7.0
EPSS
1%
Percentile
69.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01270 · 69.6th percentile
Weaknesses
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); CWE-131 · Incorrect Calculation of Buffer Size
Published
2022-11-08T00:00Z
EPSS history
Timeline
  • 08 NOV 00:00Z
    sysstat Incorrect Buffer Size calculation on 32-bit systems results in RCE via buffer overflow
    cvelistv5