{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-06-10T19:54:13.890","vulnerabilities":[{"cve":{"id":"CVE-2022-25766","sourceIdentifier":"report@snyk.io","published":"2022-03-21T18:15:07.990","lastModified":"2024-11-21T06:52:57.857","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"El paquete ungit versiones anteriores a 1.5.20, es vulnerable a una Ejecución de Código Remota (RCE) por medio de la inyección de argumentos. El problema ocurre cuando es llamado al endpoint /api/fetch. Los valores controlados por el usuario (remote y ref) son pasados al comando git fetch. Inyectando algunas opciones de git era posible conseguir una ejecución arbitraria del comando"}],"metrics":{"cvssMetricV31":[{"source":"report@snyk.io","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-88"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ungit_project:ungit:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.5.20","matchCriteriaId":"0ECA6B69-3AE5-4FEB-996F-0E95092D9B2E"}]}]}],"references":[{"url":"https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520","source":"report@snyk.io","tags":["Broken Link","Release Notes","Third Party Advisory"]},{"url":"https://github.com/FredrikNoren/ungit/pull/1510","source":"report@snyk.io","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099","source":"report@snyk.io","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Release Notes","Third Party Advisory"]},{"url":"https://github.com/FredrikNoren/ungit/pull/1510","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]}]}}]}