Description · from the CVE record

The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Affected

ProductAffectedFixed inSource
simple-gitunspecified – < 3.3.03.3.0CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
snyk (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refsnyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199refsnyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2421245refgithub.com/steveukx/git-js/pull/767refgithub.com/steveukx/git-js/releases/tag/simple-git%403.3.0