mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-11-29 11:11:52 +00:00
ndpi_private_deserializer shares its layout with ndpi_private_serializer, and ndpi_init_deserializer_buf() set only buffer.data/size/fmt before calling ndpi_reset_serializer(). When the (attacker-controlled) format byte selects a non-TLV format, reset_serializer() takes its JSON/CSV path and reads serializer-only fields (multiline_json_array, inner_json) that a deserializer never initializes. On a caller-provided, uninitialized deserializer this is a use-of-uninitialized-value. Found by OSS-Fuzz (MemorySanitizer) |
||
|---|---|---|
| .. | ||
| repro_cloneall_atoi | ||
| repro_cloneall_list_name_string_oob | ||
| repro_cloneall_next_infinite_loop | ||
| repro_cloneall_nonstring_key_atoi_null | ||
| repro_cloneall_null_string_key_deref | ||
| repro_defect1_5_string_key_unknown_val_64k_oob | ||
| repro_defect2_3_uint64_key_string_val_underflow | ||
| repro_defect2_uint64_uint64_overread | ||
| repro_init_nontlv_format_json | ||
| valid_uint8_key_string_val | ||
| valid_uint8_key_uint8_val | ||
| valid_uint32_kv_then_eor | ||