Improper Input Validation Affecting bpftool package, versions <0:3.10.0-1160.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.06% (29th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-BPFTOOL-2173696
  • published26 Jul 2021
  • disclosed22 Mar 2020

Introduced: 22 Mar 2020

CVE-2020-10942  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Centos:7 bpftool to version 0:3.10.0-1160.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.

In the Linux kernel before 5.5.8, get_raw_socket in drivers/vhost/net.c lacks validation of an sk_family field, which might allow attackers to trigger kernel stack corruption via crafted system calls.

CVSS Scores

version 3.1