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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.04% (9th 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 ID SNYK-PYTHON-PADDLEPADDLE-6483242
  • published 24 Mar 2024
  • disclosed 23 Mar 2024
  • credit ranjit-git @ranjit-git

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)