libbpf
cpe:2.3:a:libbpf_project:libbpf:*:*:*:*:*:*:*
A heap-buffer overflow vulnerability has been identified in the Linux kernel's libbpf library, specifically within the __bpf_object__open function. This issue arises from libbpf's improper handling of the e_shnum field in the ELF header, which is used to determine the section header count. The vulnerability has been reported by OSS-Fuzz and is still reproducible in the latest version of libbpf.
Exploitation of this vulnerability leads to a heap-based buffer overflow, which can potentially be exploited to execute arbitrary code or cause a denial-of-service condition.
The vulnerability can be reproduced by using the libbpf library to load an ELF object that has a section header count of zero. This can be done by creating a fuzzing object that libbpf will process, which will trigger the heap-buffer overflow when the object is loaded into memory.
Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.