跳到正文
CVE-high(cvefeed.io)·· 6 小時前精選AI 評分69

CVE-2024-58400 - llama.cpp b3701 前版本出現越界讀取漏洞

CVE-2024-58400 - llama.cpp before b3701 Out-of-Bounds Read in llama_decode via Token IDs

AI 導讀

llama.cpp 在 b3701 之前的版本存在越界讀取漏洞,遠端未授權攻擊者可透過傳送非法 token ID 讀取記憶體或導致程式崩潰。

推薦理由

此漏洞可使未授權攻擊者讀取記憶體,提示使用者盡快升級至 b3701 以上版本以避免資料洩漏或服務中斷。

正文 · 原文

llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.

Impact

Affected Products

The following products are affected by CVE-2024-58400 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ggml-org llama.cpp

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10

Update llama.cpp to a version after b3701 to fix memory read issues.

  • Update llama.cpp to a version after b3701.
  • Validate all token IDs before processing.
  • Restrict input to trusted sources if possible.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58400 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文