Ladybirdに解放後使用の脆弱性、細工したJavaScriptで不正な操作のおそれ
概要
Webブラウザー「Ladybird」のFinalizationRegistry::cleanup()に解放後使用(CWE-416)の脆弱性が見つかりました。細工されたJavaScriptで任意のコードが実行されるおそれがあり、CVSSは8.8です。修正はコミット209579c96473c75bd5eba9701fcadb841a045964で行われています。修正版の提供状況は、最新の情報を確認してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Webブラウザー「Ladybird」のFinalizationRegistry::cleanup()に解放後使用(CWE-416)の脆弱性が見つかりました。細工されたJavaScriptで任意のコードが実行されるおそれがあり、CVSSは8.8です。修正はコミット209579c96473c75bd5eba9701fcadb841a045964で行われています。修正版の提供状況は、最新の情報を確認してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Ladybird is a truly independent web browser. Prior to 209579c96473c75bd5eba9701fcadb841a045964, FinalizationRegistry::cleanup() in Libraries/LibJS/Runtime/FinalizationRegistry.cpp removed a dead record from m_records, retained an iterator to the next FinalizationRecord, and then invoked attacker-controlled JavaScript through the cleanup callback. If that callback called unregister() for the next record, remove_by_token() freed the node referenced by the retained iterator, and the next cleanup iteration read its target and held_value fields after free. This reliably crashes instrumented WebContent builds and creates a memory-corruption primitive in production builds. This vulnerability is fixed by commit 209579c96473c75bd5eba9701fcadb841a045964.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com