GHSA-84cm-v6jp-gjmr

Suggest an improvement
Source
https://github.com/advisories/GHSA-84cm-v6jp-gjmr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-84cm-v6jp-gjmr/GHSA-84cm-v6jp-gjmr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84cm-v6jp-gjmr
Aliases
Published
2020-02-14T23:09:24Z
Modified
2025-01-14T07:14:32.007522Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS command injection in git-diff-apply
Details

In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-02-13T19:30:10Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

npm / git-diff-apply

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.22.2

Database specific

{
    "last_known_affected_version_range": "<= 0.22.1"
}