CVSS 8.8 HIGH RCE

Ladybird: FinalizationRegistry::cleanup() heap use-after-free via reentrant unregister()

Công bố
Cập nhật
Lần đầu thấy
Nguồn
NVD, CVE.org

Mô tả

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.

Điểm và phân loại

CVSS
8.8 HIGH v3.1
Nguồn điểm
NVD
Mức độ (theo nguồn)
HIGH
EPSS
—
CWE
CWE-416

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Ảnh hưởng

Sản phẩm

  • LadybirdBrowser ladybird

Vì sao được giữ

  • CVSS 8.8 >= 8.0

Loại tác động

RCE
CWE-416 + AV:N/I:H

Dữ liệu riêng của nguồn

CVE.org · Đơn vị cấp mã
GitHub_M

Tham khảo