CVE-2022-27818
9.1critical
Insecure temporary file usage in SWHKD
- Severity
- 9.1critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.81% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-r3r5-jhw6-4634
Description
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock 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 | 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 | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Classification
What each source says
CVE List
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
NVD (es)
SWHKD versión 1.1.5, usa de forma no segura la ruta /tmp/swhkd.sock. Puede producirse un filtrado de información o una denegación de servicio.
References
| https://github.com/waycrate/swhkd/releases | release-notes | |
| https://github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818 | patch, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/04/14/1 | mailing-list, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-27818 | 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-27818 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r3r5-jhw6-4634 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-27818 changed 2026-06-17 | Public domain |