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.
[
{
"signature_version": "v1",
"target": {
"file": "src/cc/frontends/clang/kbuild_helper.cc",
"function": "file_exists"
},
"deprecated": false,
"source": "https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342",
"id": "CVE-2024-2314-1c2a2150",
"signature_type": "Function",
"digest": {
"function_hash": "308716148748540606133817584002692136566",
"length": 113.0
}
},
{
"signature_version": "v1",
"target": {
"file": "src/cc/frontends/clang/kbuild_helper.cc",
"function": "get_proc_kheaders"
},
"deprecated": false,
"source": "https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342",
"id": "CVE-2024-2314-44ef7087",
"signature_type": "Function",
"digest": {
"function_hash": "36553956271564276799818680856489912411",
"length": 279.0
}
},
{
"signature_version": "v1",
"target": {
"file": "src/cc/frontends/clang/kbuild_helper.cc",
"function": "proc_kheaders_exists"
},
"deprecated": false,
"source": "https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342",
"id": "CVE-2024-2314-9cfb27c4",
"signature_type": "Function",
"digest": {
"function_hash": "176068315365745535262836052478444433058",
"length": 83.0
}
},
{
"signature_version": "v1",
"target": {
"file": "src/cc/frontends/clang/kbuild_helper.cc"
},
"deprecated": false,
"source": "https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342",
"id": "CVE-2024-2314-9f70d357",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"203144673931783277252679441464818329457",
"254514248939720361619626096940303900352",
"304407264196365778991441667459302027185",
"198000745905710924416509355846585799580",
"327793335891738710618898004887903648685",
"219603813375402378306049359073636592218",
"60127501487766778599290419140892115467",
"217952124790708712411794248912960313958",
"111194669660047849200649400389794245628",
"284230794198876485759471270740745994755",
"315588038695568193871764469486784558373",
"224828295704853230034386982561521009631",
"252394138666132878342978846779213536240",
"68029674717479282024606727610100404331",
"277934550484589590181224682729557060719"
]
}
}
]