MEDIUM5.3
GHSA-h6xw-mghq-7523
Unsafe parsing in SWHKD
Details
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).
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/Simple-Wayland-HotKey-Daemon
Introduced in:
0Fixed in: 1.2.0Upgrade Simple-Wayland-HotKey-Daemon to 1.2.0 or newer (ecosystem crates.io).
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27819[ADVISORY]
- https://github.com/waycrate/swhkd/commit/b4e6dc76f4845ab03104187a42ac6d1bbc1e0021[WEB]
- https://github.com/waycrate/swhkd[PACKAGE]
- https://github.com/waycrate/swhkd/releases[WEB]
- https://github.com/waycrate/swhkd/releases/tag/1.2.0[WEB]
- http://www.openwall.com/lists/oss-security/2022/04/14/1[WEB]