CVE-2020-27187

NameCVE-2020-27187
DescriptionAn issue was discovered in KDE Partition Manager 4.1.0 before 4.2.0. The kpmcore_externalcommand helper contains a logic flaw in which the service invoking D-Bus is not properly checked. An attacker on the local machine can replace /etc/fstab, and execute mount and other partitioning related commands, while KDE Partition Manager is running. the mount command can then be used to gain full root privileges.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kpmcore (PTS)stretch3.0.2-2fixed
buster3.3.0-5fixed
bullseye20.12.3-2fixed
bookworm, sid21.08.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kpmcoresourcestretch(not affected)
kpmcoresourcebuster(not affected)
kpmcoresource(unstable)4.2.0-1

Notes

[buster] - kpmcore <not-affected> (kpmcore_externalcommand not yet present)
[stretch] - kpmcore <not-affected> (kpmcore_externalcommand not yet present)
https://kde.org/info/security/advisory-20201017-1.txt
https://invent.kde.org/system/kpmcore/-/commit/c466c5db11b5cee546d1ec0594c2f1105a354fed (fix)
https://invent.kde.org/system/kpmcore/-/commit/7ec4b611dcf822439b081613cca4184689266454 (removes KF5 5.73 dependency)
https://bugzilla.redhat.com/show_bug.cgi?id=1890199

Search for package or bug name: Reporting problems