| 标题 | HdrHistogram (Open Source) HdrHistogram 2.2.2 and earlier Improper Input Validation |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/HdrHistogram/HdrHistogram/issues/222 |
|---|
| 用户 | sara11h (UID 98571) |
|---|
| 提交 | 2026-06-03 09時56分 (1 月前) |
|---|
| 管理 | 2026-07-04 06時40分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 376282 [HdrHistogram 直到 2.2.2 Range Check DoubleHistogram.java org.HdrHistogram.DoubleHistogram.recordValue 权限提升] |
|---|
| 积分 | 19 |
|---|