# CVE-2022-27815: Insecure Temporary File in SWHKD

Source: https://junglewise.ai/threats/cve-2022-27815-insecure-temporary-file-in-swhkd  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-31  
License: CC BY 4.0 with a link back

CVE-2022-27815 · Severity: low · CVSS 3.1 · Published 2022-03-31

Insecure Temporary File in SWHKD

Technologies: [Simple-Wayland-HotKey-Daemon (crates.io)](https://junglewise.ai/threats/technologies/simple-wayland-hotkey-daemon). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2022-27815 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-27815 being exploited in the wild.

**How severe is CVE-2022-27815?** Low severity, with a CVSS score of 3.1, published 31 March 2022.

**Which products and versions are affected?** Simple-Wayland-HotKey-Daemon (crates.io) SEMVER:introduced=0,fixed=1.2.0.

**Is there a fix for CVE-2022-27815?** Yes. Simple-Wayland-HotKey-Daemon (crates.io): upgrade to 1.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-27815?** Check whether you run Simple-Wayland-HotKey-Daemon (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Simple-Wayland-HotKey-Daemon (crates.io): upgrade to 1.2.0 or later

  ```sh
  cargo update -p Simple-Wayland-HotKey-Daemon
  ```


## Affected products

- Simple-Wayland-HotKey-Daemon (crates.io) SEMVER:introduced=0,fixed=1.2.0

## Identifiers

- CVE-2022-27815
- GHSA-p4jg-pccf-h82c

## Related threats

- [Exposure of Resource to Wrong Sphere in Simple-Wayland-HotKey-Daemon](https://junglewise.ai/threats/cve-2022-27814-exposure-of-resource-to-wrong-sphere-in-simple-wayland-hotkey)
- [Exposure of Resource to Wrong Sphere in Simple-Wayland-HotKey-Daemon](https://junglewise.ai/threats/cve-2022-27817-exposure-of-resource-to-wrong-sphere-in-simple-wayland-hotkey)
- [Unsafe parsing in SWHKD](https://junglewise.ai/threats/cve-2022-27819-unsafe-parsing-in-swhkd)
- [Insecure temporary file usage in SWHKD](https://junglewise.ai/threats/cve-2022-27818-insecure-temporary-file-usage-in-swhkd)
- [Data Loss/Denial of Service in SWHKD](https://junglewise.ai/threats/cve-2022-27816-data-loss-denial-of-service-in-swhkd)
