CVE-2022-27815
JSON

7.8high

Insecure Temporary File in SWHKD

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p4jg-pccf-h82c

Description

SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
Simple-Wayland-HotKey-Daemon (crates.io)before 1.2.0GitHub Advisory Database
waycrate swhkd1.1.5NVD

All scores

GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.2medium CVSS:2.0AV:L/AC:H/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.

GitHub Advisory Database

SWHKD is a display protocol-independent hotkey daemon made in Rust. In SWHKD versions 1.1.5 and prior, SWHKD uses the /tmp/swhkd.pid pathname. As /tmp is accessible to all users, there can be an information leak or denial of service. No known workarounds exist. A patch is available on the 1.1.0 branch of the repository.

NVD (es)

SWHKD versión 1.1.5, usa de forma no segura la ruta /tmp/swhkd.pid. Puede producirse una fuga de información o una denegación de servicio

References

Sources

SourceRecordLicence
CVE ListCVE-2022-27815 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-p4jg-pccf-h82c changed 2023-11-08CC-BY-4.0
NVDCVE-2022-27815 changed 2026-06-17Public domain