GHSA-2wcj-qr76-9768 CVE-2023-52303 PYSEC-2024-135
PaddlePaddle segfault in paddle.put_along_axis
- Severity
- 4.7 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 0.49%
- Chance of exploitation in the next 30 days. Higher than 42.04% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-476 NULL Pointer Dereference
- Fix
2.6.0- Upgrade paddlepaddle to this version or later
Description
Nullptr in paddle.put_along_axis in PaddlePaddle before 2.6.0. This flaw can cause a runtime crash and a denial of service.
Affected versions
PyPI
| Package | Vulnerable | Fixed in |
|---|---|---|
| paddlepaddle | < 2.6.0 |
2.6.0 |
| paddlepaddle | < 2.6.0 |
2.6.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
paddlepaddle PyPI → 2.6.0
- pip
pip install --upgrade "paddlepaddle>=2.6.0"- poetry
poetry add "paddlepaddle>=2.6.0"- uv
uv add "paddlepaddle>=2.6.0"
Severity breakdown
CVSS 3.1 4.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Weakness
CWE-476: NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
How to prevent it
- Implementation: For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished [REF-1484].
- Requirements: Select a programming language that is not susceptible to these issues.
- Implementation: Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
- Architecture and Design: Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
- Implementation: Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-jwrc-3v3f-5cq5 PaddlePaddle allows arbitrary file read via paddle.vision.ops.read_file | High | Also affects paddlepaddle |
| GHSA-2rp8-hff9-c5wr PaddlePaddle Path Traversal vulnerability | Critical | Also affects paddlepaddle |
| GHSA-mrmm-qmrj-xgp6 PaddlePaddle vulnerable to remote code execution | Critical | Also affects paddlepaddle |
| GHSA-qqv2-35q8-p2g2 PaddlePaddle command injection in paddle.utils.download._wget_download | High | Also affects paddlepaddle |
| GHSA-fh54-3vhg-mpc2 PaddlePaddle command injection vulnerability | High | Also affects paddlepaddle |
| GHSA-chj7-w3f6-cvfj Code Injection in paddlepaddle | High | Also affects paddlepaddle |
| GHSA-v9pg-qw6x-w5r2 PaddlePaddle floating point exception in paddle.amin | High | Also affects paddlepaddle |
| GHSA-x3q9-c788-j7c8 PaddlePaddle segfault in paddle.dot | High | Also affects paddlepaddle |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor