CVE-2022-27818
Insecure temporary file usage in SWHKD
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | simple-wayland-hotkey-daemon | 1.2.0 |
References
- http://www.openwall.com/lists/oss-security/2022/04/14/1
- https://github.com/waycrate/swhkd
- https://github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818
- https://github.com/waycrate/swhkd/releases
- https://github.com/waycrate/swhkd/releases/tag/1.2.0
- https://nvd.nist.gov/vuln/detail/CVE-2022-27818