Vulnerability Name:

CVE-2022-23853 (CCN-219606)

Assigned:2022-01-31
Published:2022-01-31
Updated:2022-02-18
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-20
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-23853

Source: MISC
Type: Product, Vendor Advisory
https://apps.kde.org/kate/

Source: XF
Type: UNKNOWN
kde-cve202223853-code-exec(219606)

Source: CCN
Type: KDE Project Security Advisory 20220131
KTextEditor/Kate: Missing validation of binaries executed via QProcess

Source: CONFIRM
Type: Vendor Advisory
https://kde.org/info/security/advisory-20220131-1.txt

Vulnerable Configuration:Configuration 1:
  • cpe:/a:kde:kate:*:*:*:*:*:*:*:* (Version < 21.12.2)
  • OR cpe:/a:kde:ktexteditor:*:*:*:*:*:*:*:* (Version < 5.91.0)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7551
    P
    libQt5Concurrent-devel-5.15.8+kde185-150500.2.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7909
    P
    libQt5OpenGLExtensions-devel-static-5.15.8+kde185-150500.2.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3291
    P
    libyaml-0-2-0.1.6-7.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94921
    P
    libQt5OpenGLExtensions-devel-static-5.15.2+kde294-150400.4.8 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:2971
    P
    libQt5Concurrent-devel-5.15.2+kde294-150400.4.8 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94601
    P
    libQt5Concurrent-devel-5.15.2+kde294-150400.4.8 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:101663
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:119341
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:118846
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:101772
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:119524
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:119036
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:971
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:119709
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:119149
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    oval:org.opensuse.security:def:1094
    P
    Security update for libqt5-qtbase (Important)
    2022-03-15
    BACK
    kde kate *
    kde ktexteditor *