{"containers":{"cna":{"affected":[{"product":"czproject/git-php","vendor":"n/a","versions":[{"lessThan":"4.0.3","status":"affected","version":"unspecified","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Alessio Della Libera of Snyk Research Team"}],"datePublic":"2022-04-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"HIGH","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":7.7,"temporalSeverity":"HIGH","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Command Injection","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-04-25T17:10:10.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk"},"references":[{"tags":["x_refsource_MISC"],"url":"https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349"},{"tags":["x_refsource_MISC"],"url":"https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733"},{"tags":["x_refsource_MISC"],"url":"https://github.com/czproject/git-php/releases/tag/v4.0.3"}],"title":"Command Injection","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-04-25T17:06:55.902175Z","ID":"CVE-2022-25866","STATE":"PUBLIC","TITLE":"Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"czproject/git-php","version":{"version_data":[{"version_affected":"<","version_value":"4.0.3"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Alessio Della Libera of Snyk Research Team"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349"},{"name":"https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733","refsource":"MISC","url":"https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733"},{"name":"https://github.com/czproject/git-php/releases/tag/v4.0.3","refsource":"MISC","url":"https://github.com/czproject/git-php/releases/tag/v4.0.3"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T04:49:44.449Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/czproject/git-php/releases/tag/v4.0.3"}]}]},"cveMetadata":{"assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","cveId":"CVE-2022-25866","datePublished":"2022-04-25T17:10:10.912Z","dateReserved":"2022-02-24T00:00:00.000Z","dateUpdated":"2024-09-16T16:38:31.811Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}