New issue
Advanced search Search tips

Issue 1582 link

Starred by 2 users

Issue metadata

Status: Fixed
Closed: Aug 16

Sign in to add a comment

Microsoft Edge: Chakra: Bugs in InitializeNumberFormat and InitializeDateTimeFormat

Project Member Reported by, May 24 2018

Issue description

The InitializeNumberFormat function in Intl.js is used to initialize an Intl.NumberFormat object, and InitializeDateTimeFormat is used for an Intl.DateTimeFormat object. There are two versions of each initializer. One is for WinGlob and the other is for ICU. The problem is that the versions for ICU don't check whether the given object has been initialized. This allows to initialize the same object multiple times which can lead to type confusion.

It seems the recent version of Edge in Windows Insider Preview has started to use ICU. Tested on Microsoft Edge 42.17672.1000.0 and Microsoft EdgeHTML 17.17672.

The initializer for ICU has no check:

The initializer for WinGlob has a check:

let object = {};

This bug is subject to a 90 day disclosure deadline. After 90 days elapse
or a patch has been made broadly available (whichever is earlier), the bug
report will become visible to the public.

Project Member

Comment 1 by, Aug 16

Labels: CVE-2018-8298
Status: Fixed (was: New)
Project Member

Comment 2 by, Aug 17

Labels: -Restrict-View-Commit

Sign in to add a comment