CVE-2022-27815
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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| Simple-Wayland-HotKey-Daemon (crates.io) | before 1.2.0 | GitHub Advisory Database |
| waycrate swhkd | 1.1.5 | NVD |
All scores
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.2medium CVSS:2.0 | AV: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
| https://github.com/waycrate/swhkd/releases | release-notes, third-party-advisory, web | |
| https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa | patch, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/04/14/1 | exploit, mailing-list, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-27815 | advisory | |
| https://github.com/waycrate/swhkd | package | |
| https://github.com/waycrate/swhkd/releases/tag/1.2.0 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-27815 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p4jg-pccf-h82c changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-27815 changed 2026-06-17 | Public domain |