Integer Overflow or Wraparound Affecting bpftool package, versions <0:3.10.0-1062.el7


Severity

Recommended
high

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.07% (32nd 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 ID SNYK-CENTOS7-BPFTOOL-2138253
  • published 26 Jul 2021
  • disclosed 27 Jun 2018

How to fix?

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

The alarm_timer_nsleep function in kernel/time/alarmtimer.c in the Linux kernel through 4.17.3 has an integer overflow via a large relative timeout because ktime_add_safe is not used.