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.
CNTK v2 Integer Overflow PoC
CWE-190/CWE-122: CPUMatrix::Resize numRows*numCols size_t overflow -> heap-buffer-overflow WRITE
Bug
CPUMatrix::Resize(numRows=3, numCols=0x5555555555555556): 3 * 0x5555555555555556 = 2 (overflows size_t). Allocates 2 elements (8 bytes), stores original dims. LocateElement(0,1) = 1*3 = 3 -> index 3 past 2-element buffer -> OOB WRITE.
3 entry points:
- Direct Resize (core bug)
- operator>> deserialization (BMAT section with raw numRows/numCols)
- NDShape::TotalSize (protobuf format, unchecked dimension product)
Build & Run
g++ -std=c++17 -fsanitize=address -g -O0 -o harness harness.cpp
./harness # Direct Resize overflow
./harness stream # operator>> deserialization path
./harness ndshape # NDShape::TotalSize path
ASAN Output
WRITE of size 4 at 0x...
located 4 bytes after 8-byte region
- Downloads last month
- 30