{"id":"CVE-2022-27818","aliases":["EUVD-2022-1822","GHSA-r3r5-jhw6-4634"],"status":"published","title":"Insecure temporary file usage in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01808,"percentile":0.78872,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-668"],"published":"2022-04-07T01:35:32Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","fixed_in":["1.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"Simple-Wayland-HotKey-Daemon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]}],"products":[{"vendor":"waycrate","product":"swhkd"}],"references":[{"url":"https://github.com/waycrate/swhkd/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","package"]},{"url":"https://github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","Third Party Advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27818","tags":["advisory"]},{"url":"https://github.com/waycrate/swhkd/releases/tag/1.2.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r3r5-jhw6-4634"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27818.json","tags":["advisory"]},{"url":"https://github.com/waycrate/swhkd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-27818","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-07T01:35:32Z","modified":"2024-08-03T05:33:00.47Z","updated_at":"2026-11-02T14:34:34.250357Z"}],"euvd":[{"id":"EUVD-2022-1822","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-07T01:35:32Z","modified":"2024-08-03T05:33:00Z","updated_at":"2026-11-03T03:25:42.489853Z"}],"ghsa":[{"id":"GHSA-r3r5-jhw6-4634","title":"Insecure temporary file usage in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-08T00:00:24Z","modified":"2023-01-29T05:00:52Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-668"],"updated_at":"2026-11-02T14:36:25.064927Z"}],"nvd":[{"id":"CVE-2022-27818","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-07T02:15:07.213Z","modified":"2026-06-17T04:37:34.24Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-668"],"updated_at":"2026-11-02T14:07:14.706146Z"}],"osv":[{"id":"GHSA-r3r5-jhw6-4634","title":"Insecure temporary file usage in SWHKD","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-08T00:00:24Z","modified":"2023-11-08T04:09:00.874658Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-668"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"CVE-2022-27818","description":"SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.","status":"published","published":"2022-04-07T01:35:32Z","modified":"2026-10-28T02:30:38.317102412Z","updated_at":"2026-11-02T15:44:24.758293Z"}]}}
