Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. Simple-Wayland-HotKey-Daemon
  4. ›
  5. CVE-2022-27818

CVE-2022-27818: Insecure temporary file usage in SWHKD

April 8, 2022 (updated April 19, 2022)

SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.

References

  • github.com/advisories/GHSA-r3r5-jhw6-4634
  • github.com/waycrate/swhkd
  • github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818
  • github.com/waycrate/swhkd/releases/tag/1.2.0
  • nvd.nist.gov/vuln/detail/CVE-2022-27818

Code Behaviors & Features

Detect and mitigate CVE-2022-27818 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

cargo/Simple-Wayland-HotKey-Daemon/CVE-2022-27818.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:38 +0000.