Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index-core
  4. ›
  5. CVE-2024-45201

CVE-2024-45201: LlamaIndex includes an exec call for `import {cls_name}`

August 22, 2024 (updated January 21, 2025)

An issue was discovered in llama_index before 0.10.38. download/integration.py includes an exec call for import {cls_name}.

References

  • github.com/advisories/GHSA-fxc2-8m62-m85x
  • github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2024-192.yaml
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/commit/bd827c30484fa085ec769fa55dc7f2add8006ac8
  • github.com/run-llama/llama_index/compare/v0.10.37...v0.10.38
  • github.com/run-llama/llama_index/pull/13523
  • nvd.nist.gov/vuln/detail/CVE-2024-45201

Code Behaviors & Features

Detect and mitigate CVE-2024-45201 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.10.38

Fixed versions

  • 0.10.38

Solution

Upgrade to version 0.10.38 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/llama-index-core/CVE-2024-45201.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:55 +0000.