Submit #846761: HdrHistogram 2.2.2 and earlier Improper Input Validationinfo

TitleHdrHistogram 2.2.2 and earlier Improper Input Validation
DescriptionThe public method recordValueWithCount(long value, long count) in AbstractHistogram does not validate that the count parameter is positive. Passing negative values corrupts the histogram's internal state, including totalCount and individual bucket values. This allows an attacker who can influence the count parameter (e.g., through a metrics API or agent data receiver) to manipulate monitoring data, suppress SLA violations, or cause incorrect alerting decisions.
Source⚠️ https://github.com/HdrHistogram/HdrHistogram/issues/221
User
 sara11h (UID 98571)
Submission06/03/2026 09:50 (1 month ago)
Moderation07/04/2026 06:40 (1 month later)
StatusAccepted
VulDB entry376281 [HdrHistogram up to 2.2.2 AbstractHistogram AbstractHistogram.java recordValueWithCount state issue]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!