{"id":"CVE-2022-1440","summary":"Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface","details":"Command Injection vulnerability in git-interface@2.1.1 in GitHub repository yarkeev/git-interface prior to 2.1.2. If both are provided by user input, then the use of a `--upload-pack` command-line argument feature of git is also supported for `git clone`, which would then allow for any operating system command to be spawned by the attacker.","aliases":["GHSA-qffw-8wg7-h665"],"modified":"2026-04-02T07:39:42.206207Z","published":"2022-04-22T17:30:13Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1440.json","cna_assigner":"@huntrdev"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1440.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1440"},{"type":"FIX","url":"https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yarkeev/git-interface","events":[{"introduced":"0"},{"fixed":"f828aa790016fee3aa667f7b44cf94bf0aa8c60d"}]},{"type":"GIT","repo":"https://github.com/yarkeev/git-interface","events":[{"introduced":"0"},{"fixed":"f828aa790016fee3aa667f7b44cf94bf0aa8c60d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1440.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2.1.2"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}