CVE-2024-43357
Last modified
CVE-2024-43357 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. ECMA-262 is the language specification for the scripting language ECMAScript. A problem in the ECMAScript (JavaScript) specification of async generators, introduced by a May 2021 spec refactor, may lead to mis-implementation in a way that could present as a security vulnerability, such as type confusion and pointer dereference. The internal async generator machinery calls regular promise resolver functions on IteratorResult (`{ done, value }`) objects that it creates, assuming that the IteratorResult objects will not be then-ables. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
Description
ECMA-262 is the language specification for the scripting language ECMAScript. A problem in the ECMAScript (JavaScript) specification of async generators, introduced by a May 2021 spec refactor, may lead to mis-implementation in a way that could present as a security vulnerability, such as type confusion and pointer dereference. The internal async generator machinery calls regular promise resolver functions on IteratorResult (`{ done, value }`) objects that it creates, assuming that the IteratorResult objects will not be then-ables. Unfortunately, these IteratorResult objects inherit from `Object.prototype`, so these IteratorResult objects can be made then-able, triggering arbitrary behaviour, including re-entering the async generator machinery in a way that violates some internal invariants. The ECMAScript specification is a living standard and the issue has been addressed at the time of this advisory's public disclosure. JavaScript engine implementors should refer to the latest specification and update their implementations to comply with the `AsyncGenerator` section. ## References - https://github.com/tc39/ecma262/commit/1e24a286d0a327d08e1154926b3ee79820232727 - https://bugzilla.mozilla.org/show_bug.cgi?id=1901411 - https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq - https://bugs.webkit.org/show_bug.cgi?id=275407 - https://issues.chromium.org/issues/346692561 - https://www.cve.org/CVERecord?id=CVE-2024-7652
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-43357?
How severe is CVE-2024-43357?
How do I fix CVE-2024-43357?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-43351Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-43352Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-43353Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-43354Deserialization of Untrusted Data vulnerability in Saad Iqba…9.8
- CVE-2024-43355Missing Authorization vulnerability in BearDev JoomSport all…8.8
- CVE-2024-43356Cross-Site Request Forgery (CSRF) vulnerability in bobbingwi…4.3
- CVE-2024-43358ZoneMinder is a free, open source closed-circuit television …6.1
- CVE-2024-43359ZoneMinder is a free, open source closed-circuit television …6.1
- CVE-2024-4336Adive Framework 2.0.8, does not sufficiently encode user-con…7.4
- CVE-2024-43360ZoneMinder is a free, open source closed-circuit television …9.8
- CVE-2024-43362Cacti is an open source performance and fault management fra…5.4
- CVE-2024-43363Cacti is an open source performance and fault management fra…7.2
Are you affected by CVE-2024-43357?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
