7.1 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @erictapen Activity log
- Created suggestion
-
@LeSuisse
ignored
19 packages
- gnome-packagekit
- fedora-backgrounds.f32
- fedora-backgrounds.f33
- fedora-backgrounds.f34
- fedora-backgrounds.f35
- fedora-backgrounds.f36
- fedora-backgrounds.f37
- fedora-backgrounds.f38
- kdePackages.packagekit-qt
- qt6Packages.packagekit-qt
- haskellPackages.fedora-krb
- haskellPackages.fedora-dists
- haskellPackages.fedora-releases
- python313Packages.python-fedora
- python314Packages.python-fedora
- python313Packages.fedora-messaging
- python314Packages.fedora-messaging
- haskellPackages.fedora-haskell-tools
- gnomeExtensions.fedora-linux-update-indicator
- @erictapen accepted
- @erictapen published on GitHub
PackageKit: dnf5 backend ignores SIMULATE on RepoRemove
A flaw was found in PackageKit. PackageKit skips the polkit authorization check for transactions carrying the SIMULATE (dry-run) flag. In the dnf5 backend, the RepoRemove handler ignores that contract and always executes the real transaction because its guard is written as (role == REPO_REMOVE || !SIMULATE), which is always true for RepoRemove. An unprivileged local user can therefore perform a genuine package uninstall while claiming to simulate. This vulnerability only affects systems using PackageKit with the dnf5 backend.
References
Affected products
- <1.4.0
Matching in nixpkgs
Ignored packages (19)
pkgs.gnome-packagekit
Tools for installing software on the GNOME desktop using PackageKit
pkgs.fedora-backgrounds.f32
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f33
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f34
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f35
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f36
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f37
Set of default and supplemental wallpapers for Fedora
pkgs.fedora-backgrounds.f38
Set of default and supplemental wallpapers for Fedora
pkgs.kdePackages.packagekit-qt
System to facilitate installing and updating packages - Qt
pkgs.qt6Packages.packagekit-qt
System to facilitate installing and updating packages - Qt
pkgs.haskellPackages.fedora-krb
Kerberos for Fedora packagers
pkgs.haskellPackages.fedora-dists
Library for Fedora distribution versions
pkgs.haskellPackages.fedora-releases
Library for Fedora release versions
pkgs.python313Packages.python-fedora
Module to interact with the infrastructure of the Fedora Project
pkgs.python314Packages.python-fedora
Module to interact with the infrastructure of the Fedora Project
pkgs.python313Packages.fedora-messaging
Library for sending AMQP messages with JSON schema in Fedora infrastructure
pkgs.python314Packages.fedora-messaging
Library for sending AMQP messages with JSON schema in Fedora infrastructure
pkgs.haskellPackages.fedora-haskell-tools
Building and maintenance tools for Fedora Haskell