Advisory

GHSA-p4jg-pccf-h82c

Also known as: CVE-2022-27815

Summary

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-03-31 00:00 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

Simple-Wayland-HotKey-Daemon

crates.io · All systems

Affected

  • introduced 0, fixed 1.2.0 (semver)

Fixed versions

1.2.0

Fix

  • Fixed version 1.2.0
    cargo update -p Simple-Wayland-HotKey-Daemon --precise 1.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences