GitHub Advisoryadvisory · PyPI
GHSA-cjgq-5qmw-rcj6 keras Path Traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-55459
- Ecosystem
- PyPI
- Packages
- keras
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
- Weaknesses
- CWE-22
- Reviewed
- 2025-01-08
Affected packages
• PyPI keras: <= 3.7.0 (no fix yet)
Description
An issue in keras 3.7.0 allows attackers to write arbitrary files to the user's machine via downloading a crafted tar file through the get_file function.
Related
Alias · CVE (1)
- CVE-2024-55459 An issue in keras 3.7.0 allows attackers to write arbitrary files to the user's machine via downloading a crafted tar file through the… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-55459 advisory
- https://github.com/keras-team/keras package
- https://github.com/keras-team/keras/blob/8f5592bcb61ff48c96560c8923e482db1076b54a/keras/src/utils/file_utils.py#L115 web
- https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-121.yaml web
- https://keras.io web
- https://river-bicycle-f1e.notion.site/Arbitrary-File-Write-Vulnerability-in-get_file-function-11888e31952580179224e50892976d32 web