RockteMQ-AI commented on issue #1943:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/1943#issuecomment-5256320453

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The SSRF regression in `UrlHostGuard` has been verified.
   
   **Root Cause:** `UrlHostGuard.java:102` — `isAllowedHost(...)` uses 
`InetAddress.getByName(...)` which resolves only the first DNS answer. A 
hostname with mixed results (e.g. public + link-local/cloud-metadata) can 
bypass validation if the first answer is allowed while subsequent answers would 
be blocked.
   **Impact:** Security — the shared URL guard used by data-source save/query 
and LLM API bases can be bypassed via DNS rebinding or mixed-record responses.
   **Severity:** high
   
   An automated fix proposal can be generated. Reply `/approve` to proceed with 
PR generation.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to