{"schemaVersion":3,"id":"CVE-2022-25860","aliases":["GHSA-9w5j-4mwv-2wj8"],"status":"published","duplicateOf":null,"title":null,"description":"Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization.\nThis vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).","dates":{"published":"2023-01-24T05:00:02.399Z","modified":"2025-04-01T15:29:18.377Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02712,"percentile":0.85779,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02712},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02712,"percentile":0.85779}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02712,"percentile":0.85779}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1EEF3BF235F51587","name":"Exploit Reference (security.snyk.io)","source":"reference","url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"Npm","product":"simple-git","name":"simple-git","label":"simple-git","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/simple-git","purlType":"npm","versions":[{"text":"< 3.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0","eol":null,"hubHref":null},{"vendor":"simple-git_project","product":"simple-git","name":"simple-git","label":"simple-git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0","eol":null,"hubHref":"/vendor/simple-git_project/simple-git"},{"vendor":"wordpress","product":"ads-txt","name":"Ads.txt Manager","label":"ads-txt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.4.2 (fixed in 1.4.3)","noFixRecorded":false,"fixedIn":"1.4.3"}],"versionsText":"≤ 1.4.2 (fixed in 1.4.3)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"insecure-content-warning","name":"Insecure Content Warning","label":"insecure-content-warning","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.0.3 (fixed in 1.1.0)","noFixRecorded":false,"fixedIn":"1.1.0"}],"versionsText":"≤ 1.0.3 (fixed in 1.1.0)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"maps-block-apple","name":"Block for Apple Maps","label":"maps-block-apple","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.1.0 (fixed in 1.1.1)","noFixRecorded":false,"fixedIn":"1.1.1"}],"versionsText":"≤ 1.1.0 (fixed in 1.1.1)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"retro-winamp-block","name":"Retro Winamp Block","label":"retro-winamp-block","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":"1.3.0"}],"versionsText":"< 1.3.0","eol":null,"hubHref":null},{"vendor":"wordpress","product":"simple-local-avatars","name":"Simple Local Avatars","label":"simple-local-avatars","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.7.3 (fixed in 2.7.4)","noFixRecorded":false,"fixedIn":"2.7.4"}],"versionsText":"≤ 2.7.3 (fixed in 2.7.4)","eol":null,"hubHref":null},{"vendor":"wordpress","product":"simple-podcasting","name":"Simple Podcasting","label":"simple-podcasting","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.4.0 (fixed in 1.5.0)","noFixRecorded":false,"fixedIn":"1.5.0"}],"versionsText":"≤ 1.4.0 (fixed in 1.5.0)","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391","label":"security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391","hostname":"security.snyk.io","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13","label":"github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951","label":"github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951","hostname":"github.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25860","label":"nvd.nist.gov/vuln/detail/CVE-2022-25860","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/46fdd494-8073-4a68-a4ab-1f5767011f67","label":"www.wordfence.com/threat-intel/vulnerabilities/id/46fdd494-8073-4a68-a4ab-1f5767011f67","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-01-24T05:00:02.399Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-01T15:29:18.377Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:11:04.715Z","stale":false,"partial":false}}