CVE-2024-7340: Weave server API vulnerable to arbitrary file leak
The Weave server API allows remote users to fetch files from a specific directory, but due to a lack of input validation, it is possible to traverse and leak arbitrary files remotely. In various common scenarios, this allows a low-privileged user to assume the role of the server admin.
Published Jul 31, 2024 · Updated Aug 2, 2024
Affected packages
weave
- Ecosystem
- PyPI
- Affected
- < 0.50.8
- Fixed in
- 0.50.8
- Check
pip show weave
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Weave server API allows remote users to fetch files from a specific directory, but due to a lack of input validation, it is possible to traverse and leak arbitrary files remotely. In various common scenarios, this allows a low-privileged user to assume the role of the server admin.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7340
- https://github.com/wandb/weave/pull/1657
- https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248
- https://github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f
- https://github.com/advisories/GHSA-r49h-6qxq-624f
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
