CVE-2024-43357JavaScript specification issue may lead to type confusion and pointer dereference in implementations
- 8.6HighCVSS base score
- 0.68%Exploitation in 30 daysEPSS · top 47% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By GitHub_M
- 6 days later
· 6 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVDNVD · Deferred | 3.1 | High8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
- EPSS (exploitation in 30 days)
- 0.68% · top 47% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.6.
Affected products
References
References10
- https://github.com/tc39/ecma262/security/advisories/GHSA-g38c-wh3c-5h9r (opens in a new tab)x_refsource_CONFIRM
- https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq (opens in a new tab)x_refsource_MISC
- https://github.com/tc39/ecma262/pull/2413 (opens in a new tab)x_refsource_MISC
- https://github.com/tc39/ecma262/commit/1e24a286d0a327d08e1154926b3ee79820232727 (opens in a new tab)x_refsource_MISC
- https://github.com/tc39/ecma262/commit/4cb5a6980e20be76c648f113c4cc762342172df3 (opens in a new tab)x_refsource_MISC
- https://bugs.webkit.org/show_bug.cgi?id=275407 (opens in a new tab)x_refsource_MISC
- https://bugzilla.mozilla.org/show_bug.cgi?id=1901411 (opens in a new tab)x_refsource_MISC
- https://issues.chromium.org/issues/346692561 (opens in a new tab)x_refsource_MISC
- https://tc39.es/ecma262/#sec-asyncgenerator-objects (opens in a new tab)x_refsource_MISC
- https://www.cve.org/CVERecord?id=CVE-2024-7652 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-40246 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-43357)Record last updated .