GHSA-7r9x-hr76-jr96

Suggest an improvement
Source
https://github.com/advisories/GHSA-7r9x-hr76-jr96
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7r9x-hr76-jr96/GHSA-7r9x-hr76-jr96.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7r9x-hr76-jr96
Published
2020-09-04T17:26:18Z
Modified
2020-08-31T18:59:37Z
Summary
Command Injection in giting
Details

All versions of gitting are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an exec call, which may allow attackers to execute arbitrary code in the system. The pull function is vulnerable through the branch variable.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:59:37Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / giting

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7r9x-hr76-jr96/GHSA-7r9x-hr76-jr96.json"