Ladybirdに解放後使用の脆弱性、細工したJavaScriptで不正な操作のおそれ
Summary
Webブラウザー「Ladybird」のFinalizationRegistry::cleanup()に解放後使用(CWE-416)の脆弱性が見つかりました。細工されたJavaScriptで任意のコードが実行されるおそれがあり、CVSSは8.8です。修正はコミット209579c96473c75bd5eba9701fcadb841a045964で行われています。修正版の提供状況は、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Webブラウザー「Ladybird」のFinalizationRegistry::cleanup()に解放後使用(CWE-416)の脆弱性が見つかりました。細工されたJavaScriptで任意のコードが実行されるおそれがあり、CVSSは8.8です。修正はコミット209579c96473c75bd5eba9701fcadb841a045964で行われています。修正版の提供状況は、最新の情報を確認してください。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com