CONTENTUM.COMA specialist. A plan. A result.

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

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.