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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.070 (94.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.070 · newest: 0.070 · change: 0.000
Affected products
- Microsoft Workspace-Tools
- Workspace-Tools — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-WORKSPACETOOLS-2421201 (Exploit, Third Party Advisory)
- github.com/microsoft/workspace-tools/commit/9bc7e65ce497f87e1f363fd47b8f802f3d3… (Patch, Third Party Advisory)
- github.com/microsoft/workspace-tools/pull/103 (Patch, Third Party Advisory)
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.