ubuntu-cve-2022-23853
Vulnerability from osv_ubuntu
Published
2022-02-11 18:15
Modified
2026-05-20 14:55
Summary
Details
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.
Severity
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:15.12.3-0ubuntu2"
},
{
"binary_name": "kate5-data",
"binary_version": "4:15.12.3-0ubuntu2"
},
{
"binary_name": "kwrite",
"binary_version": "4:15.12.3-0ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:15.12.3-0ubuntu2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:15.08.2-0ubuntu1",
"4:15.08.2-0ubuntu2",
"4:15.12.1-0ubuntu1",
"4:15.12.3-0ubuntu1",
"4:15.12.3-0ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.18.0-0ubuntu1"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.18.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.18.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor5-libjs-underscore",
"binary_version": "5.18.0-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.18.0-0ubuntu1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.15.0-0ubuntu1",
"5.15.0-0ubuntu2",
"5.15.0-0ubuntu3",
"5.18.0-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:17.12.3-0ubuntu1"
},
{
"binary_name": "kate5-data",
"binary_version": "4:17.12.3-0ubuntu1"
},
{
"binary_name": "kwrite",
"binary_version": "4:17.12.3-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:17.12.3-0ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:17.04.3-0ubuntu1",
"4:17.04.3-0ubuntu2",
"4:17.08.3-0ubuntu1",
"4:17.12.2-0ubuntu1",
"4:17.12.3-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.44.0-0ubuntu2"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.44.0-0ubuntu2"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.44.0-0ubuntu2"
},
{
"binary_name": "libkf5texteditor5-libjs-underscore",
"binary_version": "5.44.0-0ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.44.0-0ubuntu2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.38.0-0ubuntu1",
"5.38.0-0ubuntu1.1",
"5.38.0-0ubuntu2",
"5.40.0-0ubuntu1",
"5.41.0-0ubuntu2",
"5.42.0-0ubuntu1",
"5.43.0-0ubuntu2",
"5.44.0-0ubuntu1",
"5.44.0-0ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:19.12.3-0ubuntu1"
},
{
"binary_name": "kate5-data",
"binary_version": "4:19.12.3-0ubuntu1"
},
{
"binary_name": "kwrite",
"binary_version": "4:19.12.3-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:19.12.3-0ubuntu1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:19.04.3-0ubuntu2",
"4:19.08.2-1ubuntu1",
"4:19.08.3-0ubuntu1",
"4:19.12.0-0ubuntu1",
"4:19.12.0-1ubuntu1",
"4:19.12.1-0ubuntu1",
"4:19.12.2-0ubuntu1",
"4:19.12.3-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.68.0-0ubuntu1"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.68.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor-bin",
"binary_version": "5.68.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.68.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor5-libjs-underscore",
"binary_version": "5.68.0-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.68.0-0ubuntu1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.62.0-0ubuntu1",
"5.62.0-0ubuntu2",
"5.64.0-0ubuntu1",
"5.65.0-0ubuntu2",
"5.65.0-0ubuntu3",
"5.66.0-0ubuntu1",
"5.67.0-0ubuntu1",
"5.68.0-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:21.12.3-0ubuntu1"
},
{
"binary_name": "kate5-data",
"binary_version": "4:21.12.3-0ubuntu1"
},
{
"binary_name": "kwrite",
"binary_version": "4:21.12.3-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:21.12.3-0ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:21.08.1-1",
"4:21.08.2-1",
"4:21.08.3-0ubuntu1",
"4:21.11.80-0ubuntu1",
"4:21.11.90-0ubuntu1",
"4:21.11.90-0ubuntu2",
"4:21.12.0-0ubuntu1",
"4:21.12.1-0ubuntu1",
"4:21.12.2-0ubuntu1",
"4:21.12.3-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.92.0-0ubuntu1"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.92.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor-bin",
"binary_version": "5.92.0-0ubuntu1"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.92.0-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.92.0-0ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.86.0-0ubuntu1",
"5.88.0-0ubuntu1",
"5.88.0-1ubuntu1",
"5.88.0-1ubuntu3",
"5.89.0-0ubuntu1",
"5.90.0-0ubuntu1",
"5.90.0-0ubuntu2",
"5.91.0-0ubuntu1",
"5.92.0-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:23.08.5-0ubuntu3"
},
{
"binary_name": "kate5-data",
"binary_version": "4:23.08.5-0ubuntu3"
},
{
"binary_name": "kwrite",
"binary_version": "4:23.08.5-0ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:23.08.5-0ubuntu3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:23.08.1-0ubuntu1",
"4:23.08.2-0ubuntu1",
"4:23.08.3-0ubuntu1",
"4:23.08.4-0ubuntu1",
"4:23.08.5-0ubuntu1",
"4:23.08.5-0ubuntu2",
"4:23.08.5-0ubuntu3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.115.0-0ubuntu4"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.115.0-0ubuntu4"
},
{
"binary_name": "libkf5texteditor-bin",
"binary_version": "5.115.0-0ubuntu4"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.115.0-0ubuntu4"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.115.0-0ubuntu4?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.110.0-0ubuntu1",
"5.112.0-0ubuntu1",
"5.113.0-0ubuntu1",
"5.115.0-0ubuntu2",
"5.115.0-0ubuntu3",
"5.115.0-0ubuntu4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:25.08.1-0ubuntu2"
},
{
"binary_name": "kate-data",
"binary_version": "4:25.08.1-0ubuntu2"
},
{
"binary_name": "kwrite",
"binary_version": "4:25.08.1-0ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:25.08.1-0ubuntu2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:24.12.3-2ubuntu2",
"4:25.04.0-0ubuntu1",
"4:25.04.1-0ubuntu1",
"4:25.04.2-0ubuntu1",
"4:25.04.2-1ubuntu1",
"4:25.04.3-0ubuntu1",
"4:25.04.3-1ubuntu1",
"4:25.07.80-0ubuntu1",
"4:25.07.90-0ubuntu1",
"4:25.08.0-0ubuntu1",
"4:25.08.1-0ubuntu1",
"4:25.08.1-0ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "libkf5texteditor-bin",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.116.0-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.116.0-1ubuntu1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.116.0-0ubuntu1",
"5.116.0-1ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "kate",
"binary_version": "4:25.12.3-0ubuntu1"
},
{
"binary_name": "kate-data",
"binary_version": "4:25.12.3-0ubuntu1"
},
{
"binary_name": "kwrite",
"binary_version": "4:25.12.3-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "kate",
"purl": "pkg:deb/ubuntu/kate@4:25.12.3-0ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4:25.08.1-0ubuntu2",
"4:25.08.2-0ubuntu1",
"4:25.08.3-0ubuntu1",
"4:25.11.80-0ubuntu1",
"4:25.11.90-0ubuntu1",
"4:25.12.0-0ubuntu1",
"4:25.12.1-0ubuntu1",
"4:25.12.1-1ubuntu1",
"4:25.12.2-0ubuntu1",
"4:25.12.2-0ubuntu2",
"4:25.12.3-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ktexteditor-data",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "ktexteditor-katepart",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "libkf5texteditor-bin",
"binary_version": "5.116.0-1ubuntu1"
},
{
"binary_name": "libkf5texteditor5",
"binary_version": "5.116.0-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "ktexteditor",
"purl": "pkg:deb/ubuntu/ktexteditor@5.116.0-1ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.116.0-1ubuntu1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2022-23853",
"modified": "2026-05-20T14:55:50Z",
"published": "2022-02-11T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-23853"
},
{
"type": "REPORT",
"url": "https://kde.org/info/security/advisory-20220131-1.txt"
},
{
"type": "REPORT",
"url": "https://commits.kde.org/kate/361dd43e42994829dbdb35e78fb7698d27cbb0e2"
},
{
"type": "REPORT",
"url": "https://commits.kde.org/kate/6fc3bf6e5bd540e842e32c4a959c2158c8573be5"
},
{
"type": "REPORT",
"url": "https://commits.kde.org/kate/92a9c65e30b4b63b8b116eb5c8dcb1e1a2d867bc"
},
{
"type": "REPORT",
"url": "https://apps.kde.org/kate/"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-23853"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-23853"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…