Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691858 (CVE-2019-14744) - <kde-frameworks/kconfig-5.60.0-r1: malicious .desktop files (and others) would execute code
Summary: <kde-frameworks/kconfig-5.60.0-r1: malicious .desktop files (and others) woul...
Alias: CVE-2019-14744
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa+ cve]
Depends on:
Reported: 2019-08-09 17:48 UTC by Andreas Sturmlechner
Modified: 2019-08-15 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---
stable-bot: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2019-08-09 17:48:11 UTC
The syntax Key[$e]=$(shell command) in *.desktop files, .directory files, and configuration files (typically found in ~/.config) was an intentional feature of KConfig, to allow flexible configuration. This could however be abused by malicious people to make the users install such files and get code executed even without intentional action by the user. A file manager trying to find out the icon for a file or directory could end up executing code, or any application using KConfig could end up executing malicious code during its startup phase for instance.

See also:

Upstream fix (backported to 5.60.0-r1):
The entire feature of supporting shell commands in KConfig entries has been removed.
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2019-08-09 22:24:07 UTC
arm64 stable.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-08-11 21:31:08 UTC
x86 stable
Comment 3 Agostino Sarubbo gentoo-dev 2019-08-12 09:12:09 UTC
amd64 stable.

Maintainer(s), please cleanup.
Comment 4 Larry the Git Cow gentoo-dev 2019-08-12 11:08:03 UTC
The bug has been referenced in the following commit(s):

commit 3368d5e2fdca00d0dbfca1a10c7faa76d8221728
Author:     Andreas Sturmlechner <>
AuthorDate: 2019-08-12 11:07:41 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2019-08-12 11:07:48 +0000

    kde-frameworks/kconfig: Security cleanup 5.60.0 (r0)
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <>

 kde-frameworks/kconfig/kconfig-5.60.0.ebuild | 36 ----------------------------
 1 file changed, 36 deletions(-)
Comment 5 Andreas Sturmlechner gentoo-dev 2019-08-14 12:45:53 UTC
KDE proj is done here.
Comment 6 GLSAMaker/CVETool Bot gentoo-dev 2019-08-15 15:42:39 UTC
This issue was resolved and addressed in
 GLSA 201908-07 at
by GLSA coordinator Aaron Bauman (b-man).