
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-39377 is a vulnerability discovered in the sysstat package affecting 32-bit systems. The issue was identified in the allocatestructures function in sacommon.c, where insufficient bounds checking before arithmetic multiplication leads to a buffer overflow condition. The vulnerability was discovered in September 2022 and publicly disclosed in November 2022, affecting sysstat versions 9.1.6 and later, with a fix released in version 12.7.1 (GitHub Advisory).
The vulnerability stems from an arithmetic overflow in the allocatestructures function within sacommon.c. The function performs multiplication operations to determine buffer sizes without proper bounds checking, leading to a sizet overflow condition on 32-bit systems. This occurs specifically when displaying activity data files, where the calculation (sizet) act[i]->msize (sizet) act[i]->nrini (sizet) act[i]->nr2 can overflow, resulting in an incorrectly sized buffer allocation ([GitHub Security Lab](https://securitylab.github.com/advisories/GHSL-2022-074sysstat/)).
The vulnerability can potentially lead to Remote Code Execution (RCE) due to the buffer overflow condition. When exploited, the arithmetic overflow can result in an incorrectly sized buffer allocation, potentially allowing attackers to execute arbitrary code on affected systems (GitHub Advisory).
The vulnerability has been patched in sysstat version 12.7.1. Users are advised to upgrade to this version or later. Various Linux distributions have also released security updates to address this vulnerability, including Red Hat Enterprise Linux (RHEL) 8 and 9, Fedora, and Debian (Red Hat Advisory, Debian Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."