CVE-2022-27815
HIGH 7.8CVSS 3.1Insecure Temporary File in SWHKD
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.
- Published
- 30 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-377CWE-59
- Also known as
- GHSA-p4jg-pccf-h82c
- Sources
- NVDJSONOSV GHSA-p4jg-pccf-h82cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | waycrate | swhkdcpe:2.3:a:waycrate:swhkd:1.1.5:*:*:*:*:*:*:* |
= 1.1.5 | |
| OSV | crates.io | Simple-Wayland-HotKey-Daemon | < 1.2.0 | 1.2.0 |
References
- http://www.openwall.com/lists/oss-security/2022/04/14/1 · Exploit, Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa · Patch, Third Party Advisory, WEB
- https://github.com/waycrate/swhkd/releases · Release Notes, 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 30 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2022)