Command Injection Affecting paddlepaddle package, versions [,2.5.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PADDLEPADDLE-5807393
  • published26 Jul 2023
  • disclosed26 Jul 2023
  • creditXiaochen Guo

Introduced: 26 Jul 2023

CVE-2023-38673  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade paddlepaddle to version 2.5.0 or higher.

Overview

paddlepaddle is a Parallel Distributed Deep Learning

Affected versions of this package are vulnerable to Command Injection in fs.py via the os.system method.

PoC

from paddle.distributed.fleet.utils import LocalFS

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

CVSS Scores

version 3.1