LiveActive security incident?Get immediate response
CVE Record

CVE-2022-25900: Command Injection

All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-25900 affects the npm package git-clone. A flaw in how it uses Git’s --upload-pack feature can allow command injection when vulnerable code processes unsafe input. Business risk is high where applications clone repositories based on user-controlled data or automated workflows.

Executive priority

Treat this as high priority where git-clone is reachable through automated or user-facing workflows. If the package is present only in unused tooling, urgency is lower but replacement should still be planned.

Technical view

All versions of git-clone are reported vulnerable to command injection through insecure --upload-pack usage. The CVSS 3.1 score is 8.1 with network attack vector, no privileges required, high complexity, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely in Node.js projects that depend on git-clone and pass repository-related input from users, jobs, webhooks, APIs, or CI automation into clone operations.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. Public references include Snyk and a gist, but the provided evidence does not establish real-world exploitation.

Researcher notes

The affected product is listed as git-clone, all versions. The CVE description attributes the issue to insecure --upload-pack usage. The bundle provides no CWE, no named patch version, and no confirmed exploitation evidence.

Mitigation direction

  • Inventory applications for direct or transitive git-clone dependency.
  • Check Snyk or package maintainer guidance for fixed or replacement options.
  • Avoid using git-clone with untrusted repository input.
  • Replace the dependency if no maintained safe version is available.
  • Restrict clone functionality to trusted sources where removal is not immediate.

Validation and detection

  • Search dependency manifests and lockfiles for git-clone.
  • Identify runtime code paths that call git-clone.
  • Determine whether attacker-controlled input reaches repository clone parameters.
  • Prioritize internet-facing, webhook-driven, or CI-triggered paths.
  • Confirm remediation with dependency scanning after changes.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-25900 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2022-25900Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/agit-clone0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.