| tiêu đề | HdrHistogram (Open Source) HdrHistogram 2.2.2 and earlier Improper Input Validation |
|---|
| Mô tả | The `DoubleHistogram.recordValue(double value)` method fails to validate against IEEE 754 special values. When `NaN` (Not-a-Number) is passed as the value, it bypasses the range check because `NaN` returns `false` for all comparison operators per the IEEE 754 specification. The NaN is then cast to `long` which produces `0L`, silently recording a phantom count at bucket 0 and corrupting all subsequent percentile and mean calculations. |
|---|
| Nguồn | ⚠️ https://github.com/HdrHistogram/HdrHistogram/issues/222 |
|---|
| Người dùng | sara11h (UID 98571) |
|---|
| Đệ trình | 03/06/2026 09:56 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 04/07/2026 06:40 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 376282 [HdrHistogram đến 2.2.2 Range Check DoubleHistogram.java org.HdrHistogram.DoubleHistogram.recordValue nâng cao đặc quyền] |
|---|
| điểm | 19 |
|---|