CVE-2022-27815 json
Insecure Temporary File in SWHKD
published 2022-03-29 4 y ago modified 2026-06-17 4 mo ago also GHSA-p4jg-pccf-h82c , EUVD-2022-1487
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.
Patch / fix
- crates.io Simple-Wayland-HotKey-Daemon 1.2.0
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2022/04/14/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | Simple-Wayland-HotKey-Daemon | <1.2.0 |
1.2.0 |
Classification
References
-
github.com
/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa
web, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2022/04/14/1
mailing-list, web, exploit, patch, third-party-advisory
-
github.com
/waycrate/swhkd/releases
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-27815
advisory
-
github.com
/waycrate/swhkd
package
-
github.com
/waycrate/swhkd/releases/tag/1.2.0
web
Sources
- CVE List CVE-2022-27815
- GitHub Advisory GHSA-p4jg-pccf-h82c
- NVD CVE-2022-27815
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.