GLSA-202401-21 : KTextEditor: Arbitrary Local Code Execution

high Nessus Plugin ID 188050

Description

The remote host is affected by the vulnerability described in GLSA-202401-21 (KTextEditor: Arbitrary Local Code Execution)

- The LSP (Language Server Protocol) plugin in KDE Kate before 21.12.2 and KTextEditor before 5.91.0 tries to execute the associated LSP server binary when opening a file of a given type. If this binary is absent from the PATH, it will try running the LSP server binary in the directory of the file that was just opened (due to a misunderstanding of the QProcess API, that was never intended). This can be an untrusted directory. (CVE-2022-23853)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All KTextEditor users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=kde-frameworks/ktexteditor-5.90.0-r2

See Also

https://security.gentoo.org/glsa/202401-21

https://bugs.gentoo.org/show_bug.cgi?id=832447

Plugin Details

Severity: High

ID: 188050

File Name: gentoo_GLSA-202401-21.nasl

Version: 1.0

Type: local

Published: 1/15/2024

Updated: 1/15/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-23853

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ktexteditor, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/15/2024

Vulnerability Publication Date: 2/11/2022

Reference Information

CVE: CVE-2022-23853