Vulnerability in Microsoft Workspace-Tools

CVE-2022-25865

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.

EPSS: 0.068 (93.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-25865?
CVE-2022-25865 is a high-severity vulnerability in Microsoft Workspace-Tools, classified under Argument Injection. CVSS score: 8.1/10. Published 2022-05-13.
How severe is CVE-2022-25865?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2022-25865 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.