You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Darknet Parser Vulnerability PoC

This repository contains proof-of-concept files demonstrating memory-safety vulnerabilities in pjreddie/darknet's C parser.

Files

  • shortcut_segfault.cfg - Triggers SIGSEGV via NULL dereference (VULN-01)
  • poc1.cfg + poc1_big.weights - Triggers integer overflow โ†’ undersized allocation (VULN-02)

Reproduction

git clone https://github.com/pjreddie/darknet
cd darknet && make
./darknet classify shortcut_segfault.cfg poc1_big.weights data/dog.jpg
# โ†’ SIGSEGV

Vulnerabilities

  1. NULL pointer dereference: strchr(a, ',')+1 when comma missing โ†’ atoi(NULL) โ†’ SIGSEGV
  2. Integer overflow: c/groups*n*size*size overflows 32-bit int โ†’ tiny calloc โ†’ heap overflow when loading weights

License

These PoC files are provided for security research purposes only.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support