Protocol Buffers FileDescriptorProto option_dependency string materialization DoS PoC
This repository contains a benign security research PoC for a .pb artifact
that drives repeated-string materialization during
descriptor_pb2.FileDescriptorProto.ParseFromString(...).
Files:
control_one_dependency.pbmalicious_option_dependency_5000000.pbreproduce.py
Observed behavior:
- control artifact:
- parses successfully with one
dependency
- parses successfully with one
- malicious artifact:
- parses successfully with
5,000,000emptyoption_dependencystrings - 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