CVE-2024-0217 Packagekitd: use-after-free in idle function callback

Low 3.3 Published Updated

A use-after-free flaw in PackageKitd allows attackers to potentially execute arbitrary code or cause a denial of service via crafted transactions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-0217?

CVE-2024-0217 is a low-severity use after free vulnerability in Fedoraproject Fedora, published on 3 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2024-0217?

It affects 3 products.

Linux distribution packages (40)
PackageKit SUSE:Enterprise Storage 7.1All versions1.1.13-150200.4.30.4
PackageKit-branding-SLE SUSE:Enterprise Storage 7.1All versions12.0-150200.9.2.2
libyui SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-ncurses SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-ncurses-pkg SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.19
libyui-ncurses-rest-api SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-qt SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-qt-graph SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-qt-pkg SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.17
libyui-qt-rest-api SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libyui-rest-api SUSE:Enterprise Storage 7.1All versions4.1.5-150300.3.10.5
libzypp SUSE:Enterprise Storage 7.1All versions17.32.2-150200.92.3
yast2-pkg-bindings SUSE:Enterprise Storage 7.1All versions4.3.13-150300.3.8.21
zypper SUSE:Enterprise Storage 7.1All versions1.14.69-150200.73.7
PackageKit SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.1.13-150200.4.30.4
PackageKit-branding-SLE SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions12.0-150200.9.2.2
libyui SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions3.9.3-150200.3.2.6
libyui-ncurses-pkg SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.50.8-150200.3.5.5
libyui-qt-pkg SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.47.5-150200.3.4.4
libyui-rest-api SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions0.3.0-150200.3.2.2
libzypp SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions17.32.2-150200.92.3
yast2-pkg-bindings SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions4.2.17-150200.3.24.6
zypper SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.14.69-150200.73.7
PackageKit SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.1.13-150200.4.30.4
PackageKit-branding-SLE SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions12.0-150200.9.2.2
libyui SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-ncurses SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-ncurses-pkg SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.19
libyui-ncurses-rest-api SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-qt SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-qt-graph SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-qt-pkg SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.17
libyui-qt-rest-api SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libyui-rest-api SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.1.5-150300.3.10.5
libzypp SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions17.32.2-150200.92.3
yast2-pkg-bindings SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.3.13-150300.3.8.21
zypper SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.14.69-150200.73.7
libyui-ncurses-pkg SUSE:Linux Enterprise Installer Updates 15 SP2All versions2.50.8-150200.3.5.5
libyui-qt-pkg SUSE:Linux Enterprise Installer Updates 15 SP2All versions2.47.5-150200.3.4.4
libzypp SUSE:Linux Enterprise Installer Updates 15 SP2All versions17.32.2-150200.92.3

Products include Fedoraproject Fedora, Packagekit Project Packagekit, Redhat Enterprise Linux.

How do I fix CVE-2024-0217?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-0217 being exploited?

There is no known exploitation of CVE-2024-0217 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-g3jm-7w7w-rf6f, SUSE-RU-2024:1202-1, SUSE-SU-2024:0966-1, SUSE-SU-2024:1046-1, UBUNTU-CVE-2024-0217.

Is CVE-2024-0217 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free