Skip to content

September 2018 Security Update#5688

Merged
chakrabot merged 10 commits into
chakra-core:release/1.10from
MikeHolman:servicing/1809
Sep 11, 2018
Merged

September 2018 Security Update#5688
chakrabot merged 10 commits into
chakra-core:release/1.10from
MikeHolman:servicing/1809

Conversation

@MikeHolman
Copy link
Copy Markdown
Contributor

@MikeHolman MikeHolman commented Sep 11, 2018

September 2018 Security Update that addresses the following issues in ChakraCore:

CVE-2018-8315
CVE-2018-8354
CVE-2018-8367
CVE-2018-8452
CVE-2018-8456
CVE-2018-8459
CVE-2018-8465
CVE-2018-8466
CVE-2018-8467

pleath and others added 10 commits September 11, 2018 09:46
This change fixes an issue where deepCopied arrays have a different inlined head segment behavior from its original instance. This is because deepCopy'ing an array would unconditionally allocate the head segment as inline, regardless of its size. This conflicts with JavascriptArray::HasInlineHeadSegment, which is based upon size rather than layout. In the PoC, this causes problems when removing elements via Slice.
The fix is to clone the inlined behavior of the original instance in addition to the instance's data. This allows related invariants to be maintained.

This change also ensures that the aligned, allocated size of the inline head segment on the stack is never larger than INLINE_CHUNK_SIZE, similarly to NewLiteral.
@MSLaguana
Copy link
Copy Markdown
Contributor

@dotnet-bot test this please

@chakrabot chakrabot merged commit 5192cdc into chakra-core:release/1.10 Sep 11, 2018
chakrabot pushed a commit that referenced this pull request Sep 11, 2018
Merge pull request #5688 from MikeHolman:servicing/1809

September 2018 Security Update that addresses the following issues in ChakraCore:

CVE-2018-8315
CVE-2018-8354
CVE-2018-8367
CVE-2018-8452
CVE-2018-8456
CVE-2018-8459
CVE-2018-8465
CVE-2018-8466
CVE-2018-8467
chakrabot pushed a commit that referenced this pull request Sep 11, 2018
Merge pull request #5688 from MikeHolman:servicing/1809

September 2018 Security Update that addresses the following issues in ChakraCore:

CVE-2018-8315
CVE-2018-8354
CVE-2018-8367
CVE-2018-8452
CVE-2018-8456
CVE-2018-8459
CVE-2018-8465
CVE-2018-8466
CVE-2018-8467
chakrabot pushed a commit that referenced this pull request Sep 11, 2018
…curity Update

Merge pull request #5688 from MikeHolman:servicing/1809

September 2018 Security Update that addresses the following issues in ChakraCore:

CVE-2018-8315
CVE-2018-8354
CVE-2018-8367
CVE-2018-8452
CVE-2018-8456
CVE-2018-8459
CVE-2018-8465
CVE-2018-8466
CVE-2018-8467
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants