Skip to main content
← All vulnerabilities
CVE-2022-39377

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.7.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published896 days (about 2 years)
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

    195 days
  3. Record last updated

Affected versions

  • sysstat sysstat

    From 9.1.16 · fixed in 12.7.1

References 6

GitHub · sysstat/sysstat

lists.debian.org

lists.fedoraproject.org

security.gentoo.org