PT-2026-68145 · Memos · Memos
CVSS v3.1
8.5
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Memos (affected versions not specified)
Description
The webhook dispatch function
safeDialContext() (internal/webhook/webhook.go) resolves the target hostname using net.DefaultResolver.LookupHost and validates the resulting IPs against reserved ranges. However, it subsequently calls net.JoinHostPort(host, port) using the original hostname instead of the validated IP address. Since net.Dialer.DialContext() performs its own DNS resolution, an attacker controlling the DNS for the webhook's hostname can employ a DNS-rebinding technique. By using a short Time-to-Live (TTL), the attacker can provide a public, allowed IP during the validation phase and a different internal IP during the actual connection phase, bypassing Server-Side Request Forgery (SSRF) protections. DNS-rebinding is a technique used to bypass security controls by changing the DNS record between the time of validation and the time of use.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Memos