Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. paddlepaddle
  4. ›
  5. CVE-2022-46742

CVE-2022-46742: PaddlePaddle vulnerable to Code Injection

December 7, 2022 (updated November 22, 2024)

Code injection in paddle.audio.functional.get_window in PaddlePaddle 2.4.0-rc0 allows arbitrary code execution. A patch is available on the develop branch of the repository and anticipated to be part of a 2.4 release.

References

  • github.com/PaddlePaddle/Paddle
  • github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2022-002.md
  • github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb
  • github.com/PaddlePaddle/Paddle/pull/47386
  • github.com/advisories/GHSA-gcjf-29m9-888q
  • github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2022-43063.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-46742

Code Behaviors & Features

Detect and mitigate CVE-2022-46742 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/paddlepaddle/CVE-2022-46742.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:42 +0000.