GHSA-792j-9wj3-j634

Suggest an improvement
Source
https://github.com/advisories/GHSA-792j-9wj3-j634
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-792j-9wj3-j634/GHSA-792j-9wj3-j634.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-792j-9wj3-j634
Aliases
Published
2021-12-10T20:30:52Z
Modified
2023-11-01T04:56:50.349978Z
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
Command injection in github-todos
Details

naholyr github-todos 3.1.0 is vulnerable to command injection. The range argument for the _hook subcommand is concatenated without any validation, and is directly used by the exec function.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2021-12-08T20:28:47Z",
    "severity": "CRITICAL",
    "nvd_published_at": "2021-12-07T00:15:00Z",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

npm / github-todos

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.1.0

Database specific

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-792j-9wj3-j634/GHSA-792j-9wj3-j634.json"