Vulnerabilities · 2022 · Microsoft
CVE-2022-25865
Microsoft Workspace-tools vulnerability
The package workspace-tools before 0.18.4 are vulnerable to Command Injection via git argument injection. When calling the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function, both the remote and remoteBranch parameters are passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Affected products
Workspace-tools. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Microsoft Workspace-tools runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Microsoft products
CVE-2026-85880CVE-2026-81963CVE-2026-69719CVE-2026-69686CVE-2026-69671CVE-2026-69556CVE-2026-62804CVE-2026-32201All 13,589
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.