Protocol Buffers Value struct_value.fields materialization DoS PoC
This repository contains a benign security research PoC for a .pb artifact
that drives repeated map-entry materialization during
struct_pb2.Value.ParseFromString(...).
Files:
control_one_struct_value.pbmalicious_struct_value_fields_1400000.pbreproduce.py
Observed behavior:
- control artifact:
- parses successfully with one
struct_valuefield
- parses successfully with one
- malicious artifact:
- parses successfully with
1,400,000nested struct fields - materially increases peak RSS during normal parse
- parses successfully with
Tested runtime:
python3 -m pip install protobuf==7.35.1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support