CVE-2022-24066
HIGH8.1EPSS 3.0%Command injection in simple-git
發布日:2022/4/2修改日:2025/1/14
描述
`simple-git` (maintained as [git-js](https://github.com/steveukx/git-js) named repository on GitHub) is a light weight interface for running git commands in any node.js application.The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover. A fix was released in [email protected].
受影響套件(1)
- npm/simple-gitfrom 0, < 3.5.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24066
- PATCHhttps://github.com/steveukx/git-js
- WEBhttps://gist.github.com/lirantal/a930d902294b833514e821102316426b
- WEBhttps://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5
- WEBhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.5.0
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820
- WEBhttps://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306