waycrate/swhkd · Security
Unsafe parsing in SWHKD
- GHSA ID
- GHSA-h6xw-mghq-7523
- CVE ID
- CVE-2022-27819
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
- CVSS v3
- 5.3 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Description
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).
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-770 · Allocation of Resources Without Limits or Throttling
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27819 ↗
- https://github.com/waycrate/swhkd/commit/b4e6dc76f4845ab03104187a42ac6d1bbc1e0021 ↗
- https://github.com/waycrate/swhkd/releases ↗
- http://www.openwall.com/lists/oss-security/2022/04/14/1 ↗
- https://github.com/waycrate/swhkd/releases/tag/1.2.0 ↗
- https://github.com/advisories/GHSA-h6xw-mghq-7523 ↗