Engine crash via prematurely collected proxy object
Published Mar 28, 2024 · Updated Aug 22, 2024
NULL pointer dereference in JerryScript 2.4.0 allows local users to crash the engine by executing crafted JavaScript. During a Proxy get trap, ecma_proxy_object_get calls attacker-controlled code without retaining the proxy object, so garbage collection can free it before ecma_get_object_type dereferences it. Execution of the crafted script is required, and the demonstrated consequence is an engine process crash caused by an invalid read.
Summary
What happened
NULL pointer dereference in JerryScript 2.4.0 allows local users to crash the engine by executing crafted JavaScript. During a Proxy get trap, ecma_proxy_object_get calls attacker-controlled code without retaining the proxy object, so garbage collection can free it before ecma_get_object_type dereferences it. Execution of the crafted script is required, and the demonstrated consequence is an engine process crash caused by an invalid read.
The record
- CVE
- CVE-2024-29489
- Published
- Mar 28, 2024
- Updated
- Aug 22, 2024
- Vendor
- JerryScript Project
- Product
- JerryScript
- Classifications
- CWE-476, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 28, 2024CVE publishedPublication date reported by the CVE source.
- Aug 22, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.4.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- JerryScript proxy get-trap crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo