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

CVE-2024-9070: BentoML deserialization vulnerability

March 20, 2025 (updated March 21, 2025)

A deserialization vulnerability exists in BentoML’s runner server in bentoml/bentoml versions <=1.3.4.post1. By setting specific parameters, an attacker can execute unauthorized arbitrary code on the server, causing severe harm. The vulnerability is triggered when the args-number parameter is greater than 1, leading to automatic deserialization and arbitrary code execution.

References

  • github.com/advisories/GHSA-9g44-gwvm-hc44
  • github.com/bentoml/BentoML
  • github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/server/runner_app.py
  • github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/server/runner_app.py
  • huntr.com/bounties/7be6fc22-be18-44ee-a001-ac7158d5e1a5
  • nvd.nist.gov/vuln/detail/CVE-2024-9070

Code Behaviors & Features

Detect and mitigate CVE-2024-9070 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 1.4.5

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/bentoml/CVE-2024-9070.yml

Spotted a mistake? Edit the file on GitLab.

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

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