# CVE-2024-2314: If kernel headers need to be extracted, bcc will attempt to load them from a temporary directory.

- Severity: Low 2.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-10T22:54:31.563Z
- Modified: 2026-06-17T07:24:17.897Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- bcc: before 008ea09e891194c072f2a9305a3c872a241dc342
- iovisor bpf_compiler_collection: before 0.30.0

## Every score

- canonical: CVSS:3.1 2.8 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342> (patch)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2314> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2024-2314](https://www.cve.org/CVERecord?id=CVE-2024-2314), CVE Terms of Use, modified 2024-10-30
- NVD: [CVE-2024-2314](https://nvd.nist.gov/vuln/detail/CVE-2024-2314), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2314 · Whole record: https://cve.day/CVE-2024-2314.json · Rebuilt by cve.day 2026-11-25T22:58:37.386Z
