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.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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.
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 lookupCVE-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- 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
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.
CVSS vector scores
1 official scoreWe 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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
8.1HighVector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-GITCLONE-2434308CVE reference · x_refsource_MISC
- https://gist.github.com/lirantal/9441f3a1212728476f7a6caa4acb2cccCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
