Arbitrary Command Injection Affecting kde/plasma-desktop package, versions [,5.12.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.78% (55th 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-KDEPLASMADESKTOP-2365559
  • published26 Jan 2022
  • disclosed7 Feb 2018
  • creditUnknown

Introduced: 7 Feb 2018

CVE-2018-6791  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade kde/plasma-desktop to version 5.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection. An issue was discovered in soliduiserver/deviceserviceaction.cpp in KDE Plasma Workspace before 5.12.0. When a vfat thumbdrive that contains `` or $() in its volume label is plugged in and mounted through the device notifier, it's interpreted as a shell command, leading to a possibility of arbitrary command execution. An example of an offending volume label is "$(touch b)" -- this will create a file called b in the home folder.

References

CVSS Base Scores

version 3.1