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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue is valid. The Prometheus metrics source applies bounds on 
response bytes, series count, and sample count, but does not limit per-series 
label cardinality or label value length. A malicious or misconfigured metrics 
endpoint could return series with thousands of labels or very long label 
values, bypassing the existing coarse-grained limits.
   
   **Root Cause:** Missing per-series label count and value length constraints 
in the Prometheus response parser.
   **Impact:** Potential memory exhaustion or excessive allocation from 
unbounded label data; defense-in-depth gap.
   **Severity:** medium
   
   Adding per-series label cardinality and value length bounds is a sound 
hardening measure.
   
   *Automated evaluation by RockteMQ-AI*


-- 
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