webhookdに任意プログラム実行の脆弱性、修正版あり
Summary
Webhookを受けてスクリプトを実行するwebhookdに、指定ディレクトリの外にあるプログラムを実行される脆弱性が公表されました。自社でwebhookdを動かしている組織は、修正版への更新と、起動時の-hook-scripts設定の確認を進めてください。
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.
Webhookを受けてスクリプトを実行するwebhookdに、指定ディレクトリの外にあるプログラムを実行される脆弱性が公表されました。自社でwebhookdを動かしている組織は、修正版への更新と、起動時の-hook-scripts設定の確認を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ncarlierwebhookd |
≥ 1.21.0, < 1.22.1→ 1.22.1 |
1.22.1 |
Original description The description as published by the source.
Ncarlier webhookd from 1.21.0 before 1.22.1 contains a path traversal vulnerability in ResolveScript() that allows remote attackers to execute programs outside the hook scripts directory by bypassing a strings.HasPrefix containment check. Attackers who satisfy configured hook authentication can send an encoded ../ path targeting a sibling directory sharing the scripts prefix, running executables with the request body as input as the webhookd user.
Source: CVE.org (CVE Program・cvelistV5) NVD