CVE-2022-39377
JSON

7.0high

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

Severity
7.0high CVSS:3.1 by GitHub_M
Exploit likelihood
0.91% (higher than 58% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
sysstat sysstat>= 9.1.16, < 12.7.1CVE List
sysstat_project sysstatfrom 9.1.6 before 12.6.1NVD
debian debian_linux10.0NVD
fedoraproject fedora35, 36, 37NVD

All scores

GitHub_M7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-120CWE-131

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

sysstat es un conjunto de herramientas de rendimiento del System para el sistema operativo Linux. En sistemas de 32 bits, en las versiones 9.1.16 y posteriores, pero anteriores a la 12.7.1, allocate_structures contiene un desbordamiento size_t en sa_common.c. La función allocate_structures no comprueba suficientemente los límites antes de la multiplicación aritmética, lo que permite un desbordamiento en el tamaño asignado para el búfer que representa las actividades del sistema. Este problema puede provocar la ejecución remota de código (RCE). Este problema se solucionó en la versión 12.7.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-39377 changed 2025-11-03CVE Terms of Use
NVDCVE-2022-39377 changed 2026-06-17Public domain