CRITICAL9.1
GHSA-p4jg-pccf-h82c
Insecure Temporary File in SWHKD
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/Simple-Wayland-HotKey-Daemon
Introduced in:
0Fixed in: 1.2.0Upgrade Simple-Wayland-HotKey-Daemon to 1.2.0 or newer (ecosystem crates.io).
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27815[ADVISORY]
- https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa[WEB]
- https://github.com/waycrate/swhkd[PACKAGE]
- https://github.com/waycrate/swhkd/releases[WEB]
- https://github.com/waycrate/swhkd/releases/tag/1.2.0[WEB]
- http://www.openwall.com/lists/oss-security/2022/04/14/1[WEB]