Internet Explorer JScript: Array.sort callback arguments escape GC tracking
A value referenced only through the arguments object of an Array.sort callback could be reclaimed by legacy JScript's garbage collector and then accessed through the stale slot.
- Product
- Microsoft Internet Explorer legacy JScript engine
- Vendor
- Microsoft
- Affected
- Supported Internet Explorer installations before the September 23, 2019 out-of-band updates; Windows 10 version 1903 with KB4515384 or earlier in Project Zero's reference build
- Fixed in
- Microsoft September 23, 2019 out-of-band updates; Windows 10 version 1903 KB4524147 in Project Zero's reference build
- Weakness
- CWE-416
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 23 Sep 2019
Classified as
References
Related CVEs
- CVE-2020-1380high 8.82020
Internet Explorer JScript9: aliased argument enables detached-buffer use
JScript9 optimized a typed-array store under the stale assumption that a named argument remained numeric, even though arguments.push could replace that aliased formal with an object whose numeric conversion detached the destination buffer.
- CVE-2020-0674high 7.52020
Internet Explorer JScript: named sort-callback arguments evade GC
Legacy JScript failed to trace named formal parameters during an Array.sort callback, so an object referenced only through a parameter could be reclaimed and then used through the stale VAR slot.
- CVE-2019-0708critical 9.82019
BlueKeep: Windows RDP MS_T120 pre-auth use-after-free (CVE-2019-0708)
RDP binds the internal channel MS_T120 to a fixed slot, but a client can bind that same name to a second slot too. On teardown the channel object is freed once while the duplicate binding still points at it, so a later channel operation dereferences a dangling pointer: a pre-authentication, wormable use-after-free. So dangerous that Microsoft shipped out-of-band patches even for out-of-support Windows XP and Server 2003, and the NSA issued a rare public advisory urging patching for fear of a WannaCry-scale worm.
- CVE-2018-8174high 7.52018
Double Kill: VBScript Class_Terminate use-after-free
A re-entrant class destructor can create a new reference after the engine's only reference-count check, yet the release path still frees the object and leaves the new reference dangling.