Lucene search

K
cvelistSnykCVELIST:CVE-2022-25865
HistoryMay 13, 2022 - 12:00 a.m.

CVE-2022-25865 Command Injection

2022-05-1300:00:00
snyk
www.cve.org

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

10 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

53.0%

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.

CNA Affected

[
  {
    "product": "workspace-tools",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "0.18.4",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

10 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

53.0%

Related for CVELIST:CVE-2022-25865