In plugins/HookSystem.cpp in Hyprland through 0.39.1 (before 28c8561), through a race condition, a local attacker can cause execution of arbitrary assembly code by writing to a predictable temporary file.
[
{
"digest": {
"length": 2897.0,
"function_hash": "309678739146240935187567247894161637280"
},
"id": "CVE-2024-33904-2302e756",
"source": "https://github.com/hyprwm/hyprland/commit/28c85619243e6320e75d7abcfe8244fa99d054dd",
"signature_type": "Function",
"target": {
"file": "src/plugins/HookSystem.cpp",
"function": "CFunctionHook::fixInstructionProbeRIPCalls"
},
"signature_version": "v1",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"190217801654639372551066546308466559004",
"143927636723952870390353445975106202205",
"309147059020229190787273906206876839466",
"56880301859521836524328413537888291278",
"322054510741183591041222930316012165702",
"15630290996200255173565662496382969632",
"263552150542985046474192302823398995190",
"124678730255584489758454822691010318213",
"283639004014934562809532251702509615685",
"234311607111309215750334651559154016608",
"197135174618077904733432604144080782367",
"79259529065444900571959498538507963990",
"16567161617474067914485079323218345666",
"170593537079176871333703467020951648239",
"269735363975842587576984820153003525369",
"203276905363280741261612931962966469032",
"42672334325491084978606627653475856851",
"196282065083644584721864774787568815652",
"195567685390520461819888527226966883018",
"81322222678139629145791711123046477219",
"275755797967795746294518147062100390944",
"237775725182113644394304516306408919473",
"187731648000091946946200387280805729783"
]
},
"id": "CVE-2024-33904-fa259af4",
"source": "https://github.com/hyprwm/hyprland/commit/28c85619243e6320e75d7abcfe8244fa99d054dd",
"signature_type": "Line",
"target": {
"file": "src/plugins/HookSystem.cpp"
},
"signature_version": "v1",
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33904.json"