NULL Pointer Dereference Affecting bpftool package, versions <0:3.10.0-1127.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.65% (47th percentile)

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 IDSNYK-RHEL7-BPFTOOL-7973211
  • published14 Sept 2024
  • disclosed17 Jan 2018

Introduced: 17 Jan 2018

CVE-2018-7191  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:7 bpftool to version 0:3.10.0-1127.el7 or higher.
This issue was patched in RHSA-2020:1016.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bpftool package and not the bpftool package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.