セキュリティ

Ollama に境界外の読み取りおよび書き込みの脆弱性

セキュリティ 元記事

予習

この記事のキーワード — タップで意味
×3
書き込み
かきこみ
1. writing 2. entry (e.g. to a form)
×3
境界
きょうかい
boundary; border; limit; bounds; frontier
N2
×2
読み取る
よみとる
1. to read and understand; to take in 2. to sense from external cues; to read (someone's) mind
×3
及び
および
and; as well as
N1
×2
脆弱性
ぜいじゃくせい
vulnerability; weakness; fragility
 独立行政法人情報処理推進機構(IPA)および一般社団法人JPCERT コーディネーションセンター(JPCERT/CC)は5月11日、Ollamaにおける境界外の読み取りおよび書き込み脆弱性について「Japan Vulnerability Notes(JVN)」で発表した。影響を受けるシステムは以下の通り

Ollama

 ローカル環境で大規模言語モデル(LLM)を実行するためのオープンソースツール Ollamaには、モデル量子化エンジンにおけるGGUFファイルの検証不備起因して、ヒープメモリの境界読み取りおよび境界書き込み脆弱性存在し、モデルのレイヤに書き込まれたヒープメモリのデータが、OllamaのレジストリAPIを通じ漏えいする可能性がある。

 想定される影響としては、モデルのアップロードインターフェースにアクセス可能遠隔第三者によって、細工されたGGUFファイルをアップロードされ、サーバのヒープメモリの読み取り書き込みをされる可能性がある。

 CERT/CCでは、ワークアラウンドの適用推奨しており、詳細はCERT/CCが提供する情報確認するよう案内している。

この記事の単語 (34)

×3
及び
および
and; as well as
×3
境界
きょうかい
boundary; border; limit; bounds; frontier
×3
書き込み
かきこみ
1. writing 2. entry (e.g. to a form)
×2
読み取る
よみとる
1. to read and understand; to take in 2. to sense from external cues; to read (someone's) mind
×2
脆弱性
ぜいじゃくせい
vulnerability; weakness; fragility
×2
影響
えいきょう
1. influence; effect 2. to influence; to affect; to have an influence on; to impact; to have an effect on
×2
可能性
かのうせい
potentiality; likelihood; possibility; availability
×1
独立行政法人
どくりつぎょうせいほうじん
independent administrative corporation (institution, agency)
×1
情報処理推進機構
じょうほうしょりすいしんきこう
Information-technology Promotion Agency (organization)
×1
一般社団法人
いっぱんしゃだんほうじん
general incorporated association
×1
発表
はっぴょう
announcement; publication; presenting; statement; communique; making known; breaking (news story); expressing (one's opinion); releasing; unveiling
×1
通り
とおり
1. avenue; street; way; road 2. coming and going; street traffic
×1
環境
かんきょう
environment; circumstance
×1
実行
じっこう
execution (e.g. of a plan); carrying out; practice; action; implementation; fulfillment; realization
×1
量子化
りょうしか
quantization; quantisation; quantizing
×1
検証
けんしょう
verification; inspection
×1
不備
ふび
1. defect; deficiency; imperfection; inadequacy; lack 2. Yours in haste
×1
起因
きいん
cause; origin
×1
存在
そんざい
existence; being
×1
書き込む
かきこむ
1. to fill in (field, entry, etc.); to fill out (form) 2. to post a message (e.g. on a bulletin-board)
×1
通じる
つうじる
1. to be open (to traffic); to lead to; to communicate (with) 2. to flow (liquid, current); to pass; to get through to
×1
漏洩
ろうえい
1. leak (of secrets, information, etc.); disclosure; divulging 2. leak (of gas, liquid, etc.); leakage; escape (of gas); coming through (of light)
×1
想定
そうてい
hypothesis; supposition; assumption
×1
可能
かのう
possible; potential; practicable; feasible
×1
遠隔
えんかく
distant; remote; isolated
×1
第三者
だいさんしゃ
third party; third person; outsider; disinterested person
×1
細工
さいく
1. work; workmanship; craftsmanship; handiwork 2. artifice; trick; device; tampering; doctoring
×1
読み取り
よみとり
reading (e.g. by a scanner)
×1
適用
てきよう
applying (e.g. a technology); adoption
×1
推奨
すいしょう
recommendation; endorsement
×1
詳細
しょうさい
1. details; particulars; specifics 2. detailed; specific; minute
×1
提供
ていきょう
1. offer; tender; providing; supplying; making available; donating (blood, organs, etc.) 2. sponsoring (a TV program)
×1
情報
じょうほう
1. information; news; intelligence; advices 2. information; data contained in characters, signals, code, etc.
×1
確認
かくにん
confirmation; verification; validation; review; check; affirmation; identification