概要
認証なしで細工したデータを送られ、メモリを書き換えられて停止や不正なプログラム実行のおそれ。
元の説明(英語)を読む
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC/xer_c.stg, which generates XER decoders for SEQUENCE OF types that store each decoded element at arr[i] in a loop running until the closing tag and compare the element count with the type's maximum size only after the loop ends. Attackers who supply crafted XER input with more elements than the SIZE constraint allows to an application using decoders generated with -XER by an affected version can write attacker-controlled element values past the end of the fixed-size array, corrupting adjacent memory, crashing the decoder or potentially executing code. Decoders generated by affected versions remain vulnerable until they are regenerated with a fixed version and rebuilt.
影響を受ける人
asn1scc の -XER で生成した C デコーダを使う開発者
対策
- asn1scc を 4.7.0.1 以降に更新する。
- 更新後にデコーダを再生成して再ビルドする。
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。