SecurityContext

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

IdName
CWE-59Improper Link Resolution Before File Access

Public exploits

UrlSourceAdded date
http://www.openwall.com/lists/oss-security/2022/04/14/1nvd2022-03-30

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openwall.com/lists/oss-security/2022/04/14/1Exploit, Mailing List, Patch, Third Party Advisory
https://github.com/waycrate/swhkd/commit/e661a4940df78fbb7b52c622ac4ae6a3a7f7d8aaPatch, Third Party Advisory
https://github.com/waycrate/swhkd/releasesRelease Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
waycrate:swhkd= 1.1.5nonvd/v1/products/waycrate/swhkd

Projects

RepositoryLink kindsIndexedUrl
waycrate/swhkdcommit, fix, package, releasesyes/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