TensorRT Deserialize OOB PoC by yee3642
This repository contains a non-weaponized proof-of-concept model file for a TensorRT plugin deserialization out-of-bounds read / denial-of-service issue.
Contents
security-poc/yee3642_poc_truncated.mytrtfile- malformed 1-byte PoC model filesecurity-poc/deserialize_value_oob_poc.cpp- local reproducer harnesssecurity-poc/make_poc_blob.py- generator for the malformed filesecurity-poc/README.md- detailed reproduction notes
Reproduction overview
- Clone the audited TensorRT source tree.
- Copy the
security-poc/directory from this repository into the TensorRT repository root. - Build the harness with
-DNDEBUGand AddressSanitizer. - Run the harness against
security-poc/yee3642_poc_truncated.mytrtfile.
Expected result: AddressSanitizer reports heap-buffer-overflow in plugin/common/serialize.hpp:58.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support