Integer Overflow or Wraparound Affecting bpftool package, versions <0:4.18.0-305.10.2.el8_4


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.91% (89th 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-ROCKY8-BPFTOOL-3290762
  • published3 Feb 2023
  • disclosed20 Jul 2021

Introduced: 20 Jul 2021

CVE-2021-33909  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 bpftool to version 0:4.18.0-305.10.2.el8_4 or higher.
This issue was patched in RLSA-2021:2714.

NVD Description

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

fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by an unprivileged user, aka CID-8cae8cd89f05.

References

CVSS Scores

version 3.1