Heap-based Buffer Overflow Affecting bpftool package, versions <0:3.10.0-957.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-BPFTOOL-2109020
- published 26 Jul 2021
- disclosed 17 May 2018
Introduced: 17 May 2018
CVE-2018-1120 Open this link in a new tabHow to fix?
Upgrade Centos:7
bpftool
to version 0:3.10.0-957.el7 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream bpftool
package and not the bpftool
package as distributed by Centos
.
See How to fix?
for Centos:7
relevant fixed versions and status.
A flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command line arguments (or environment strings), an attacker can cause utilities from psutils or procps (such as ps, w) or any other program which makes a read() call to the /proc/<pid>/cmdline (or /proc/<pid>/environ) files to block indefinitely (denial of service) or for some controlled time (as a synchronization primitive for other attacks).
References
- http://www.securityfocus.com/bid/104229
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1120
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7f7ccc2ccc2e70c6054685f5e3522efa81556830
- https://access.redhat.com/security/cve/CVE-2018-1120
- https://www.exploit-db.com/exploits/44806/
- https://security.gentoo.org/glsa/201805-14
- http://seclists.org/oss-sec/2018/q2/122
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html
- https://access.redhat.com/errata/RHSA-2018:3083
- https://usn.ubuntu.com/3752-1/
- https://usn.ubuntu.com/3752-2/
- https://usn.ubuntu.com/3752-3/
- https://usn.ubuntu.com/3910-1/
- https://usn.ubuntu.com/3910-2/