Memos' webhook dispatch function safeDialContext() (internal/webhook/webhook.go) resolves the...
Summary
Vulnerability reported (CVE-2026-71272). Confidential information can be exposed externally.
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.
Memosのwebhook送信処理で、接続先ホスト名の検証後に再度名前解決が行われるため、検証を回避して内部ネットワークのサーバーへ接続させられる恐れがあります。深刻度は高で、CVSSは8.5です。修正版の有無については最新の情報を確認してください。
Memosのwebhookディスパッチ関数safeDialContext()におけるDNSリバインディング攻撃。
Memosのinternal/webhook/webhook.go。
外部攻撃者が内部IPへの不正アクセスを可能にする可能性があるため、重大な脆弱性です。
安全なDNS解決戦略を実装し、バリデーション後に正しいIPを使用してダイヤルするロジックを適用すること。
一時的な回避策は情報なし。
webhookへのDNSリクエストと応答のロギングを有効にして異常を特定する。
Original description The description as published by the source.
Memos' webhook dispatch function safeDialContext (internal/webhook/webhook.go) resolves the target hostname via net.DefaultResolver.LookupHost and validates the resulting IPs against reserved ranges, but then dials net.JoinHostPort(host, port) using the original hostname rather than the already-validated IP address.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com