Name | CVE-2018-1125 |
Description | procps-ng before version 3.3.15 is vulnerable to a stack buffer overflow in pgrep. This vulnerability is mitigated by FORTIFY, as it involves strncat() to a stack-allocated string. When pgrep is compiled with FORTIFY (as on Red Hat Enterprise Linux and Fedora), the impact is limited to a crash. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1390-1, DSA-4208-1 |
Debian Bugs | 899170 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
procps (PTS) | bullseye | 2:3.3.17-5 | fixed |
bookworm | 2:4.0.2-3 | fixed | |
sid, trixie | 2:4.0.4-6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
procps | source | wheezy | 1:3.3.3-3+deb7u1 | DLA-1390-1 | ||
procps | source | jessie | 2:3.3.9-9+deb8u1 | DSA-4208-1 | ||
procps | source | stretch | 2:3.3.12-3+deb9u1 | DSA-4208-1 | ||
procps | source | (unstable) | 2:3.3.15-1 | 899170 |
https://www.openwall.com/lists/oss-security/2018/05/17/1
https://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt
Patch: 0008-pgrep-Prevent-a-potential-stack-based-buffer-overflo.patch
https://gitlab.com/procps-ng/procps/commit/b51ca2a1f8ca779f7632ade6a0a259ed882fa584