A use-after-free flaw was found in PackageKitd. In some conditions, the order of cleanup mechanics for a transaction could be impacted. As a result, some memory access could occur on memory regions that were previously freed. Once freed, a memory region can be reused for other allocations and any previously stored data in this memory region is considered lost.
[
{
"source": "https://github.com/packagekit/packagekit/commit/64278c9127e3333342b56ead99556161f7e86f79",
"digest": {
"line_hashes": [
"69110401875055153638018526870323614788",
"104936221520995987981509473286540388469",
"284850847472260449698388863213100776869",
"33786011828446133669880393923746326194",
"111480205983780487965060550645008160044",
"316624392811831117073588737815180568666",
"13349957417997647440873044018551392340",
"252578080632256012307756048094668849918"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-0217-8195f6c2",
"target": {
"file": "src/pk-transaction.c"
}
},
{
"source": "https://github.com/packagekit/packagekit/commit/64278c9127e3333342b56ead99556161f7e86f79",
"digest": {
"function_hash": "416716534804417372517382757260205436",
"length": 362.0
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-0217-f826b9d0",
"target": {
"function": "pk_transaction_finished_emit",
"file": "src/pk-transaction.c"
}
}
]