CVE-2022-27815: SWHKD - Insecure Temporary File Handling
- Cve: CVE-2022-27815
- Name: SWHKD - Insecure Temporary File Handling
- Description: SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.
- Impact: Local attackers can leak sensitive information or cause denial of service by manipulating the /tmp/swhkd.pid file.
- Remediation: Update to the latest version where this issue is fixed or apply appropriate security patches.
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00514
- Epss percentile: 0.44394
- Assignee: [email protected]
- Published at: 2022-03-30T00:15:09Z
- Age in days: 1700
- Modified at: 2026-06-17T04:37:33Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-27815
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2022/04/14/1 | nvd | 2022-03-30 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2022/04/14/1 | Exploit, Mailing List, Patch, Third Party Advisory |
| https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aa | Patch, Third Party Advisory |
| https://github.com/waycrate/swhkd/releases | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| waycrate:swhkd | = 1.1.5 | no | nvd | /v1/products/waycrate/swhkd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| waycrate/swhkd | commit, fix, package, releases | yes | /v1/repositories/waycrate/swhkd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-30
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts