Osquery
osquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)
osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, on Windows, a local unprivileged attacker can cause a heap buffer out-of-bounds write if there is a query of the processes table targeting a maliciously crafted process, due to unchecked PEB string lengths in process command-line and current-directory reads. If exploited successfully, this could allow a potential local privilege escalation from standard user to SYSTEM. This issue is fixed in version 5.23.1.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
osquery osquery
- < 5.23.1
Fixed in 5.23.1
Mitigation
Upgrade osquery to 5.23.1 or later.
References
- Vendor advisory github.com/osquery/osquery/security/advisories…
- Patch github.com/osquery/osquery/pull/8934
- Patch github.com/osquery/osquery/commit/3d457c412eb0…
1 more
- Release notes github.com/osquery/osquery/releases/tag/5.23.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.