RockteMQ-AI commented on issue #2376: URL: https://github.com/apache/rocketmq-dashboard/issues/2376#issuecomment-5332811796
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue is valid. `RocketMQDLQProvider.exportMessages` bounds the message count (5,000) but imposes no aggregate byte limit on the retained message bodies. Each `MessageExt` body is converted to both UTF-8 and Base64, and `DLQController` serializes the entire list into another `byte[]` — resulting in multiple in-memory copies of potentially large payloads from a single authenticated request. **Root Cause:** Missing aggregate byte budget in the DLQ export scan path. **Impact:** Authenticated users can trigger excessive heap consumption (DoS vector). **Severity:** Medium-High The proposed fix (10 MiB aggregate raw-body budget + HTTP 413 on overflow) is reasonable. An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by github-manager* -- 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]
