Description
Khronos NNEF-Tools nnef through 1.0.10 and nnef-tools through 1.0.11 contain a path traversal vulnerability that allows attackers to write files outside the model directory via crafted variable labels. Attackers can supply a graph.nnef with '../' sequences or absolute paths in labels to create or overwrite '.dat' files when users convert, save, or generate weights.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Khronos Group | nnef | ≤ 1.0.10 | — |
| Khronos Group | nnef-tools | ≤ 1.0.11 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/SJiYagajfe technical-description exploit
- https://github.com/KhronosGroup/NNEF-Tools/blob/0bb9c04fcf69c19e0aefa1ba9bf65f05478c8f81/nnef-pyproject/nnef/__init__.py#L87 technical-description
- https://github.com/KhronosGroup/NNEF-Tools product
- VulnCheck Advisory: Khronos NNEF-Tools nnef through 1.0.10 and nnef-tools through 1.0.11 Path Traversal via Variable Label third-party-advisory