Semaphore U: OS Command Injection
semaphoreui semaphore
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/semaphoreui/semaphore Go |
|
|
Original description
Semaphore UI is a web interface for managing DevOps tools. Prior to 2.18.17 and 2.19.5-beta2, repository git_url handling passes an attacker-controlled --upload-pack option to CmdGitClient.GetLastRemoteCommitHash through POST /api/project/{id}/repositories and scheduled commit-hash polling, allowing a project Manager or Owner to execute arbitrary OS commands in the Semaphore server process. This issue is fixed in versions 2.18.17 and 2.19.5-beta2.
From the CVE record · GitHub_M