ADVISORIES

GitHub Advisory Database

GHSA-p4jg-pccf-h82c

Insecure Temporary File in SWHKD

Critical CVE-2022-27815

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.

Affected packages

EcosystemPackageAffected versions
crates.ioSimple-Wayland-HotKey-Daemon
All versions before 1.2.0 (fixed in 1.2.0)

References