Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Darknet (.cfg/.weights) Memory Corruption PoC
CWE-787/CWE-122: numload heap-buffer-overflow WRITE + OOB READ via route/shortcut
Bug 1: numload heap-overflow WRITE (headline)
filters=2 allocates 8-byte l.biases. numload=4096 rebinds l.n at weight-load time. fread(l.biases, sizeof(float), l.n=4096, fp) writes 16384 bytes into 8-byte buffer.
Bug 2/3: route/shortcut unbounded layer index -> OOB READ
layers=100000 or from=99999 indexes net->layers[] with no bounds check. Live in AlexeyAB/darknet (~21k stars).
Files
evil_numload.cfg+evil.weights-> Bug 1evil_route.cfg-> Bug 2evil_shortcut.cfg-> Bug 3
Build & Run
# Clone pjreddie/darknet, build with ASAN
gcc -g -O0 -fsanitize=address src/*.c harness.c -Iinclude -Isrc -o harness
./harness evil_numload.cfg evil.weights # heap-buffer-overflow WRITE
./harness evil_route.cfg # SEGV READ
./harness evil_shortcut.cfg # SEGV READ
- Downloads last month
- 36