UBUNTU-CVE-2018-10361

Source
https://ubuntu.com/security/CVE-2018-10361
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10361.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-10361
Upstream
Published
2018-04-25T05:29:00Z
Modified
2026-04-22T11:40:28.043734Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

An issue was discovered in KTextEditor 5.34.0 through 5.45.0. Insecure handling of temporary files in the KTextEditor's kauthktexteditorhelper service (as utilized in the Kate text editor) can allow other unprivileged users on the local system to gain root privileges. The attack occurs when one user (who has an unprivileged account but is also able to authenticate as root) writes a text file using Kate into a directory owned by a another unprivileged user. The latter unprivileged user conducts a symlink attack to achieve privilege escalation.

References

Affected packages

Ubuntu:18.04:LTS / ktexteditor

Package

Name
ktexteditor
Purl
pkg:deb/ubuntu/ktexteditor@5.44.0-0ubuntu2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
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": "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10361.json"