Description
Memos' webhook URL validation, isReservedIP (internal/webhook/validate.go), checks a candidate IP against a reservedCIDRs list that omits 0.0.0.0/8 and never calls ip.IsUnspecified — unlike the correctly implemented sibling function isInternalIP in internal/httpgetter/html_meta.go, which does.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| usememos | memos | ≤ 0.29.1 | — |
References
- https://github.com/usememos/memos third-party-advisory
- https://github.com/usememos/memos/blob/main/internal/webhook/validate.go third-party-advisory