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

CVE-2024-4642: Weights and Biases (wandb) has a Server-Side Request Forgery (SSRF) vulnerability

May 16, 2024

A Server-Side Request Forgery (SSRF) vulnerability exists in the wandb/wandb repository due to improper handling of HTTP 302 redirects. This issue allows team members with access to the ‘User settings -> Webhooks’ function to exploit this vulnerability to access internal HTTP(s) servers. In severe cases, such as on AWS instances, this could potentially be abused to achieve remote code execution on the victim’s machine. The vulnerability is present in the latest version of the repository.

References

  • github.com/advisories/GHSA-cqh9-jfqr-h9jj
  • github.com/wandb/wandb
  • github.com/wandb/wandb/blob/main/wandb/sdk/lib/import_hooks.py
  • huntr.com/bounties/055eb540-57f8-46d6-b858-3a9e22d347d9
  • nvd.nist.gov/vuln/detail/CVE-2024-4642

Code Behaviors & Features

Detect and mitigate CVE-2024-4642 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 up to 0.17.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/wandb/CVE-2024-4642.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:12 +0000.