Out-of-bounds Write Affecting bpftool package, versions <0:4.18.0-240.el8


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (22nd 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-CENTOS8-BPFTOOL-2053617
  • published26 Jul 2021
  • disclosed27 Nov 2019

Introduced: 27 Nov 2019

CVE-2019-19319  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Centos:8 bpftool to version 0:4.18.0-240.el8 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:8 relevant fixed versions and status.

In the Linux kernel before 5.2, a setxattr operation, after a mount of a crafted ext4 image, can cause a slab-out-of-bounds write access because of an ext4_xattr_set_entry use-after-free in fs/ext4/xattr.c when a large old_size value is used in a memset call, aka CID-345c0dbf3a30.

CVSS Scores

version 3.1