build-git-cloneにコマンド注入の脆弱性、1.0.4で修正
Summary
Node.js用ライブラリbuild-git-cloneの1.0.4より前の版で、clone()に渡すリポジトリURL経由でOSコマンドを実行される脆弱性が公表されました。該当版を使うチームは1.0.4へ更新し、URLを外部から受け取る処理がないかも確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Node.js用ライブラリbuild-git-cloneの1.0.4より前の版で、clone()に渡すリポジトリURL経由でOSコマンドを実行される脆弱性が公表されました。該当版を使うチームは1.0.4へ更新し、URLを外部から受け取る処理がないかも確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| emanuelmoraes-devbuild-git-clone |
< 1.0.4→ 1.0.4 |
1.0.4 |
Original description The description as published by the source.
build-git-clone before 1.0.4 contains an OS command injection vulnerability in the clone() function that allows attackers to execute commands by supplying crafted repository URLs. Attackers can embed shell metacharacters such as ; or $() in the url argument, which is concatenated into a sh -c command, to execute operating system commands with Node.js process privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web registry.npmjs.org