Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Khronos Group / nnef | affected 0 through 1.0.10 |
| Khronos Group / nnef-tools | affected 0 through 1.0.11 |
CWE
CWE-22
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/SJiYagajfe
- https://github.com/KhronosGroup/NNEF-Tools/blob/0bb9c04fcf69c19e0aefa1ba9bf65f05478c8f81/nnef-pyproject/nnef/__init__.py#L87
- https://github.com/KhronosGroup/NNEF-Tools
- https://www.vulncheck.com/advisories/khronos-nnef-tools-nnef-through-1.0.10-and-nnef-tools-through-1.0.11-path-traversal-via-variable-label
ADP enrichment
No English description supplied.