{"id":"EUVD-2022-1441","enisaUuid":"9fdc5156-d8e1-39d7-a96c-ec89c795af8c","description":"The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.","datePublished":"Mar 21, 2022, 5:15:16 PM","dateUpdated":"Sep 16, 2024, 10:41:07 PM","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099\nhttps://github.com/FredrikNoren/ungit/pull/1510\nhttps://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520\n","aliases":"CVE-2022-25766\nGHSA-hf8c-xr89-vfm5\n","assigner":"snyk","epss":34.54,"enisaIdProduct":[{"id":"fe7d6412-d83e-3d8b-9eee-2e65a832cff7","product":{"name":"ungit","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c1.5.20"}],"enisaIdVendor":[{"id":"ba12d224-7759-36fe-a4fb-ff87d05003a2","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"06335e79-aa1a-3cdf-bc99-758318fd4f27","vulnerability":{"id":"CVE-2022-25766","description":"The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.","datePublished":"Mar 21, 2022, 5:15:16 PM","dateUpdated":"Sep 16, 2024, 10:41:07 PM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099\nhttps://github.com/FredrikNoren/ungit/pull/1510\nhttps://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520\n","enisa_id":"EUVD-2022-1441\n","assigner":"snyk","epss":34.54,"dataProcessed":"Nov 22, 2026, 7:19:22 AM","vulnerabilityProduct":[{"id":"3189c234-b0d4-379d-9375-175ee64f2be0","product":{"name":"ungit","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c1.5.20"}],"vulnerabilityVendor":[{"id":"8913e507-c726-3154-9e41-212766bd6de0","vendor":{"name":"n/a"}}]}},{"id":"592094a4-289d-3b6d-9bd3-6a34934586cf","vulnerability":{"id":"GHSA-hf8c-xr89-vfm5","description":"Command Injection in ungit","datePublished":"Mar 22, 2022, 12:00:41 AM","dateUpdated":"Mar 28, 2022, 6:26:27 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2022-25766\nhttps://github.com/FredrikNoren/ungit/pull/1510\nhttps://github.com/FredrikNoren/ungit/pull/1511\nhttps://github.com/FredrikNoren/ungit\nhttps://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520\nhttps://snyk.io/vuln/SNYK-JS-UNGIT-2414099\n","enisa_id":"EUVD-2022-1441\n","aliases":"GHSA-hf8c-xr89-vfm5\nCVE-2022-25766\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:07:35 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}