Spugに認証済みの利用者が任意のコマンドを実行できる脆弱性
Summary
Spug 4.0.0から4.1.1より前のバージョンには、認証済みの利用者が認証情報のチェック用エンドポイントを通じて任意のOSコマンドを実行できる脆弱性があります。Docker環境で動いている場合、Spugのサービスアカウントはrootのため、影響が大きくなります。修正版の4.1.1が公開されているので、速やかにアップデートしてください。
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.
Spug 4.0.0から4.1.1より前のバージョンには、認証済みの利用者が認証情報のチェック用エンドポイントを通じて任意のOSコマンドを実行できる脆弱性があります。Docker環境で動いている場合、Spugのサービスアカウントはrootのため、影響が大きくなります。修正版の4.1.1が公開されているので、速やかにアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openspugspug |
≥ 4.0.0, < 4.1.1→ 4.1.1 |
4.1.1 |
Original description The description as published by the source.
Spug 4.0.0 before 4.1.1 contains an OS command injection vulnerability that allows any authenticated user to execute commands by supplying a crafted git URL to the /api/credential/check/ endpoint. Attackers can inject shell metacharacters into the data field passed to git ls-remote with shell=True, executing commands as the Spug service account, which is root in Docker deployments.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com