Critical
Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-1440
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:57 UTC · Revision 1
Source evidence
Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface
core-osv · Original sourcePublished 22 Apr 2022, 17:30 UTC
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.
osv:CVE-2022-1440
Complete source record
{
"id": "ce4d71e02e4a33999f6f09a99017ba8978b5872eea3d31cbb1210bdcbce4e658",
"url": "https://osv.dev/vulnerability/CVE-2022-1440",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2022-1440",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-1440",
"aliases": [
"CVE-2022-1440",
"GHSA-qffw-8wg7-h665"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yarkeev/git-interface",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f828aa790016fee3aa667f7b44cf94bf0aa8c60d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "f828aa790016fee3aa667f7b44cf94bf0aa8c60d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1440.json"
}
}
],
"modified": "2026-10-28T02:30:30.077025719Z",
"provider": "osv",
"references": [
"https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1440.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-1440",
"https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "@huntrdev",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.1.2"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1440.json"
}
},
"related_cves": [
{
"value": "CVE-2022-1440",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496588,
"published_at": "2022-04-22T17:30:13+00:00"
}