CVE-2024-54131: Github.com/kolide/launcher Kolide Agent Privilege Escalation (Windows, Vulnerability
HIGHCVE-2024-54131 is a HIGH kolide agent privilege escalation (windows, vulnerability (CWE-456: Missing Initialization of a Variable) affecting Github.com/kolide/launcher libraries in the Go ecosystem. The issue involves kolide agent privilege escalation (windows, versions >= 1.5.3, < 1.12.3). Remediation is available by upgrading affected packages to version 1.12.3.
CVE-2024-54131 at a Glance
How to Fix CVE-2024-54131
To remediate this vulnerability, upgrade all affected Github.com/kolide/launcher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/kolide/launcher to 1.12.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kolide/launcher
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-54131, inspect your project dependencies for Github.com/kolide/launcher:
inspect dependencies for github.com/kolide/launcher
Analyze the terminal output to locate any version of Github.com/kolide/launcher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-456: Missing Initialization of a Variable, where the product does not initialize critical variables, which causes the execution environment to use unexpected values. In Github.com/kolide/launcher, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-54131 Affected Github.com/kolide/launcher Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kolide/launcher
|
Go |
≥ 1.5.3
< 1.12.3
|
1.12.3
|
References
Frequently Asked Questions
What is CVE-2024-54131?
Which Github.com/kolide/launcher versions are affected?
What version fixes CVE-2024-54131?
Is github.com/kolide/launcher affected?
What CWE is associated with CVE-2024-54131?
How can I check Go dependencies for CVE-2024-54131?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-66q9-2rvx-qfj5",
"modified" : "2024-12-03T20:56:58Z",
"published" : "2024-12-03T20:56:58Z",
"aliases" : [ "CVE-2024-54131" ],
"summary" : "Kolide Agent Privilege Escalation (Windows, Versions >= 1.5.3, < 1.12.3)",
"details" : "An implementation bug in the Kolide Agent (known as `launcher`) allows for local privilege escalation to the SYSTEM user on Windows 10 and 11. Impacted versions include versions >= 1.5.3 and the fix has been released in 1.12.3. \n\nThe bug was introduced in version 1.5.3 when launcher started storing upgraded binaries in the ProgramData directory (#1510). This move to the new directory meant the launcher root directory inherited default permissions that are not as strict as the previous location. These incorrect default permissions in conjunction with an omitted SystemDrive environmental variable (when launcher starts osqueryd), allows a malicious actor with access to the local Windows device to successfully place an arbitrary DLL into the osqueryd process's search path. Under some circumstances, this DLL will be executed when osqueryd performs a WMI query. This combination of events could then allow the attacker to escalate their privileges to SYSTEM.\n\nThis issue was found by Bryan Alexander of Atredis Partners and responsibly reported through the Kolide bug bounty program. Kolide made the appropriate changes and released a fix in version 1.12.3 of the `launcher` package.\n",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kolide/launcher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.3"
}, {
"fixed" : "1.12.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/kolide/launcher/security/advisories/GHSA-66q9-2rvx-qfj5"
}, {
"type" : "WEB",
"url" : "https://github.com/kolide/launcher/pull/1510"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kolide/launcher"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276", "CWE-456" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-03T20:56:58Z",
"nvd_published_at" : null
}
}