Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libbpf
  4. ›
  5. CVE-2021-45941

CVE-2021-45941: Out-of-bounds Write

January 1, 2022 (updated January 11, 2022)

libbpf has a heap-based buffer overflow (8 bytes) in __bpf_object__open (called from bpf_object__open_mem and bpf-object-fuzzer.c).

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=40957
  • github.com/google/oss-fuzz-vulns/blob/main/vulns/libbpf/OSV-2021-1576.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-45941

Code Behaviors & Features

Detect and mitigate CVE-2021-45941 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 up to 0.6.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/libbpf/CVE-2021-45941.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.