Mozilla vulnerabilities
3 real-world CVEs in Mozilla. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2024-9680critical 9.82024
Firefox animation timeline: reentrant Tick leaves dangling removals
AnimationTimeline::Tick retained raw Animation pointers across callback-capable animation processing, so script could cancel and release an animation before the deferred removal loop used its dangling pointer.
- CVE-2019-17026high 8.82020
Firefox IonMonkey: negative-index setter defeats store alias analysis
IonMonkey modeled StoreElementHole and FallibleStoreElement as narrow memory writes even though a negative index could invoke a JavaScript property setter and mutate arbitrary program state.
- CVE-2019-11707high 8.82019
Firefox IonMonkey: Array.pop returns a prototype value of the wrong type
IonMonkey inferred Array.pop's result only from an array's own element types, even though a hole could make the runtime load an incompatible indexed value from the prototype chain.