Bug 1679544 (CVE-2018-19517) - CVE-2018-19517 sysstat: Out of bounds read in remap_struct function in sa_common.c
Summary: CVE-2018-19517 sysstat: Out of bounds read in remap_struct function in sa_com...
Status: NEW
Alias: CVE-2018-19517
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1679545 1686622
Blocks: 1679546
TreeView+ depends on / blocked
Reported: 2019-02-21 11:49 UTC by Pedro Sampaio
Modified: 2021-02-16 22:21 UTC (History)
7 users (show)

Fixed In Version: sysstat 12.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Pedro Sampaio 2019-02-21 11:49:57 UTC
An issue was discovered in sysstat 12.1.1. The remap_struct function in sa_common.c has an out-of-bounds read during a memset call, as demonstrated by sadf.

Upstream issue:


Upstream patch:


Comment 1 Pedro Sampaio 2019-02-21 11:50:06 UTC
Created sysstat tracking bugs for this issue:

Affects: fedora-all [bug 1679545]

Comment 2 Riccardo Schirone 2019-03-07 21:14:07 UTC

This issue did not affect the versions of sysstat as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include the vulnerable function, which was introduced in newer version of the package.

Comment 3 Riccardo Schirone 2019-03-07 21:17:23 UTC
The vulnerable function, remap_struct, was introduced upstream with the following commit in version v11.7.1:

Note You need to log in before you can comment on or make changes to this bug.