Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wNGpnLXBjY2YtaDgyY803PQ

Insecure Temporary File in SWHKD

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.

Permalink: https://github.com/advisories/GHSA-p4jg-pccf-h82c
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wNGpnLXBjY2YtaDgyY803PQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 2 years ago
Updated: about 1 year ago


CVSS Score: 9.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Identifiers: GHSA-p4jg-pccf-h82c, CVE-2022-27815
References: Repository: https://github.com/waycrate/swhkd
Blast Radius: 1.0

Affected Packages

cargo:Simple-Wayland-HotKey-Daemon
Dependent packages: 0
Dependent repositories: 0
Downloads: 1,671 total
Affected Version Ranges: < 1.2.0
Fixed in: 1.2.0
All affected versions: 1.1.2, 1.1.3, 1.1.4, 1.1.5
All unaffected versions: 1.2.0