Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. weave
  4. ›
  5. CVE-2024-7340

CVE-2024-7340: Weave server API vulnerable to arbitrary file leak

July 31, 2024

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

  • github.com/advisories/GHSA-r49h-6qxq-624f
  • github.com/wandb/weave
  • github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f
  • github.com/wandb/weave/pull/1657
  • nvd.nist.gov/vuln/detail/CVE-2024-7340
  • research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248

Code Behaviors & Features

Detect and mitigate CVE-2024-7340 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 0.50.8

Fixed versions

  • 0.50.8

Solution

Upgrade to version 0.50.8 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/weave/CVE-2024-7340.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:04 +0000.