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

CVE-2022-27819: Unsafe parsing in SWHKD

April 8, 2022 (updated April 15, 2022)

SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but there is a simple denial of service (memory exhaustion) upon an attempt to parse a large or infinite file (such as a block or character device).

References

  • github.com/advisories/GHSA-h6xw-mghq-7523
  • github.com/waycrate/swhkd
  • github.com/waycrate/swhkd/commit/b4e6dc76f4845ab03104187a42ac6d1bbc1e0021
  • github.com/waycrate/swhkd/releases
  • github.com/waycrate/swhkd/releases/tag/1.2.0
  • nvd.nist.gov/vuln/detail/CVE-2022-27819

Code Behaviors & Features

Detect and mitigate CVE-2022-27819 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 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:26 +0000.