Arbitrary Command Injection Affecting kpmcore package, versions <4.2.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE317-KPMCORE-3142171
  • published15 Dec 2020
  • disclosed26 Oct 2020

Introduced: 26 Oct 2020

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

How to fix?

Upgrade Alpine:3.17 kpmcore to version 4.2.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kpmcore package and not the kpmcore package as distributed by Alpine. See How to fix? for Alpine:3.17 relevant fixed versions and status.

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 Scores

version 3.1