{"id":"CVE-2022-27815","aliases":["CVE-2022-27815","GHSA-p4jg-pccf-h82c"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure Temporary File in SWHKD","summary":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.","source":"cvelist"},{"lang":"en","text":"SWHKD is a display protocol-independent hotkey daemon made in Rust. In SWHKD versions 1.1.5 and prior, SWHKD uses the /tmp/swhkd.pid pathname. As /tmp is accessible to all users, there can be an information leak or denial of service. No known workarounds exist. A patch is available on the `1.1.0` branch of the repository.","format":"markdown","source":"ghsa"},{"lang":"es","text":"SWHKD versión 1.1.5, usa de forma no segura la ruta /tmp/swhkd.pid. Puede producirse una fuga de información o una denegación de servicio","source":"nvd"}],"published":"2022-03-29T23:21:34.000Z","modified":"2026-06-17T04:37:33.913Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:H/Au:N/C:C/I:C/A:C","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-59","CWE-377"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.0"}],"ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","purl":"pkg:cargo/Simple-Wayland-HotKey-Daemon","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.1.5"}],"vendor":"waycrate","product":"swhkd","cpe":"cpe:2.3:a:waycrate:swhkd:1.1.5:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/waycrate/swhkd/releases","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/14/1","tags":["exploit","mailing-list","patch","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27815","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/waycrate/swhkd","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/waycrate/swhkd/releases/tag/1.2.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-27815","url":"https://www.cve.org/CVERecord?id=CVE-2022-27815","licence":"CVE Terms of Use","modified":"2024-08-03T05:33:00.334Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p4jg-pccf-h82c","url":"https://github.com/advisories/GHSA-p4jg-pccf-h82c","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:00.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-27815","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27815","licence":"Public domain","modified":"2026-06-17T04:37:33.913Z"}],"updatedAt":"2026-11-25T22:58:10.333Z","epss":{"score":0.00514,"percentile":0.45283,"date":"2026-12-01T12:00:22.000Z"}}