Arbitrary Command Injection Affecting kde/partitionmanager package, versions [4.1.0,4.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-KDEPARTITIONMANAGER-2367489
  • published26 Jan 2022
  • disclosed26 Oct 2020
  • creditUnknown

Introduced: 26 Oct 2020

CVE-2020-27187  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade kde/partitionmanager to version 4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection. An 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.

CVSS Base Scores

version 3.1