{"id":"CVE-2022-1440","aliases":["CVE-2022-1440","GHSA-qffw-8wg7-h665"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A command injection vulnerability exists in git-interface in the GitHub repository yarkeev/git-interface prior to 2.1.2. If both the git remote and destination directory are provided by user input, then the use of an `--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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de inyección de comandos en git-interface@2.1.1 en el repositorio de GitHub yarkeev/git-interface versiones anteriores a 2.1.2. Si ambos son proporcionados por la entrada del usuario, entonces el uso de una característica de argumento de línea de comandos \"--upload-pack\" de git también es compatible con \"git clone\", lo que permitiría entonces que cualquier comando del sistema operativo sea generado por el atacante","source":"nvd"}],"published":"2022-04-22T17:30:13.000Z","modified":"2026-06-17T04:22:28.053Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"}],"cwes":["CWE-78","CWE-88"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2.1.2","status":"affected"}],"vendor":"yarkeev","product":"yarkeev/git-interface","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.2"}],"ecosystem":"npm","package":"git-interface","purl":"pkg:npm/git-interface","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.2"}],"vendor":"git-interface_project","product":"git-interface","cpe":"cpe:2.3:a:git-interface_project:git-interface:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1","tags":["exploit","mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1440","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/yarkeev/git-interface","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1440","url":"https://www.cve.org/CVERecord?id=CVE-2022-1440","licence":"CVE Terms of Use","modified":"2024-08-03T00:03:06.306Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qffw-8wg7-h665","url":"https://github.com/advisories/GHSA-qffw-8wg7-h665","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:49.055Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1440","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1440","licence":"Public domain","modified":"2026-06-17T04:22:28.053Z"}],"updatedAt":"2026-11-25T22:58:11.213Z","epss":{"score":0.03691,"percentile":0.90004,"date":"2026-12-01T12:00:22.000Z"}}