{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-2314 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-2314 is a low-severity path traversal vulnerability in IOVisor BPF Compiler Collection, published on 10 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2314 and fix it if it is affected.\n\nWhat it is: CVE-2024-2314 is a low-severity path traversal vulnerability in IOVisor BPF Compiler Collection, published on 10 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2314 in the wild and no public exploit code.\n\nAffected product: IOVisor BPF Compiler Collection. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-2314/ (Markdown: https://insights.sbomify.com/CVE-2024-2314/index.md)","id":"CVE-2024-2314","markdown":"https://insights.sbomify.com/CVE-2024-2314/index.md","name":"CVE-2024-2314","record":{"aliases":["ALSA-2024:8831","ALSA-2024:9187","AZL-38914","BELL-CVE-2024-2314","CLSA-2026-1789740903","DEBIAN-CVE-2024-2314","GHSA-883r-qq2g-w5xj","OESA-2024-2502","RHSA-2024:8831","RHSA-2024:9187","RLSA-2024:8831"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"BPF Compiler Collection","requires_auth":"low_privilege","summary":"An unprivileged attacker can force bcc to load compromised kernel headers from a temporary directory, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"bpf_compiler_collection","vendor":"iovisor"}],"cvss":{"score":2.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[],"description":"If kernel headers need to be extracted, bcc will attempt to load them from a temporary directory. An unprivileged attacker could use this to force bcc to load compromised linux headers. Linux distributions which provide kernel headers by default are not affected by default.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in BPF Compiler Collection","id":"CVE-2024-2314","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":34,"n_references":2,"next":{"headline":"SMM arbitrary code execution in Overclock","id":"CVE-2024-2315"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-devel","purl":"pkg:rpm/almalinux/bcc-devel","source":"ALSA-2024:8831"},{"ecosystem":"AlmaLinux:8","fixed":["0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-doc","purl":"pkg:rpm/almalinux/bcc-doc","source":"ALSA-2024:8831"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc","purl":"pkg:rpm/almalinux/bcc","source":"ALSA-2024:9187"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-devel","purl":"pkg:rpm/almalinux/bcc-devel","source":"ALSA-2024:9187"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-doc","purl":"pkg:rpm/almalinux/bcc-doc","source":"ALSA-2024:9187"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-tools","purl":"pkg:rpm/almalinux/bcc-tools","source":"ALSA-2024:9187"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"libbpf-tools","purl":"pkg:rpm/almalinux/libbpf-tools","source":"ALSA-2024:9187"},{"ecosystem":"AlmaLinux:9","fixed":["0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3-bcc","purl":"pkg:rpm/almalinux/python3-bcc","source":"ALSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc","purl":"pkg:rpm/redhat/bcc","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-debuginfo","purl":"pkg:rpm/redhat/bcc-debuginfo","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-debugsource","purl":"pkg:rpm/redhat/bcc-debugsource","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-tools","purl":"pkg:rpm/redhat/bcc-tools","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-tools-debuginfo","purl":"pkg:rpm/redhat/bcc-tools-debuginfo","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-bcc","purl":"pkg:rpm/redhat/python3-bcc","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-debuginfo","purl":"pkg:rpm/redhat/bcc-debuginfo","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-debugsource","purl":"pkg:rpm/redhat/bcc-debugsource","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-devel","purl":"pkg:rpm/redhat/bcc-devel","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-doc","purl":"pkg:rpm/redhat/bcc-doc","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc-tools-debuginfo","purl":"pkg:rpm/redhat/bcc-tools-debuginfo","source":"RHSA-2024:8831"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc","purl":"pkg:rpm/redhat/bcc","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-debuginfo","purl":"pkg:rpm/redhat/bcc-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-debugsource","purl":"pkg:rpm/redhat/bcc-debugsource","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-tools","purl":"pkg:rpm/redhat/bcc-tools","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-tools-debuginfo","purl":"pkg:rpm/redhat/bcc-tools-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"libbpf-tools","purl":"pkg:rpm/redhat/libbpf-tools","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"libbpf-tools-debuginfo","purl":"pkg:rpm/redhat/libbpf-tools-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"python3-bcc","purl":"pkg:rpm/redhat/python3-bcc","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-debuginfo","purl":"pkg:rpm/redhat/bcc-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-debugsource","purl":"pkg:rpm/redhat/bcc-debugsource","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-devel","purl":"pkg:rpm/redhat/bcc-devel","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-doc","purl":"pkg:rpm/redhat/bcc-doc","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"bcc-tools-debuginfo","purl":"pkg:rpm/redhat/bcc-tools-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.30.0-6.el9"],"introduced":["0"],"last_affected":[],"package":"libbpf-tools-debuginfo","purl":"pkg:rpm/redhat/libbpf-tools-debuginfo","source":"RHSA-2024:9187"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.25.0-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"bcc","purl":"pkg:rpm/rocky-linux/bcc?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:8831"}],"prev":{"headline":"Path traversal in bpftrace","id":"CVE-2024-2313"},"products":["BPF Compiler Collection"],"published":"2024-03-10","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-30","vendors":["IOVisor"]},"summary":"An unprivileged attacker can force bcc to load compromised kernel headers from a temporary directory, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2024-2314/"}