Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 810 Bytes

pdsa-2023-005.md

File metadata and controls

29 lines (17 loc) · 810 Bytes

PDSA-2023-005: Command injection in fs.py

CVE Number

CVE-2023-38673

Impact

os.system in fs.py can lead to command injection. The PoC is as follows:

from paddle.distributed.fleet.utils import LocalFS

client = LocalFS()
client.mkdirs("hi;pwd;")

Patches

We have patched the issue in commit 2bfe358043096fdba9e2a4cf0f5740102b37fd8f. The fix will be included in PaddlePaddle 2.5.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 Xiaochen Guo from Huazhong University of Science and Technology.