CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 14:25:38 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/chakra-core/ChakraCore.git
etag: W/"8dcc1afdac9d110670f086588c6ce4fd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=wvOGK0916qglG6Zwjtjy0zNLXgoDPaDiQy%2BE8dzXVydy6FTODgELWDNBD%2BQ7MLPvscS2amNxBh%2Bg6QmgfI64V4MVD%2BBHdc0VHSschEv1JH%2BtAcVxOdQwn%2Bn%2B7tQrT4wuNWLgXCHIKZ9LeUikDgCJKjy32FLlSck2CCzWsyczraM1bwp7Ns97znWUAijLQhDlb8fkw01MklMi2xbGwrEAVXspFyY%2BloBg7rIzToK%2BIH%2BfRWcSh94CYCCPMN6MKDBxuNQ56zNESQgvHPr4aUfckA%3D%3D--AbqF%2Fmo5x36lH5%2Bx--XxJwbN5yKHYlnV%2BxUzMkXQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.822627763.1753280737; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 14:25:37 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 14:25:37 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9B80:20AC8F:D20517:F8AF78:6880F0E1
Change to address CVE-2016-7200,CVE-2016-7201,CVE-2016-7202,CVE-2016-… · chakra-core/ChakraCore@c2787ef · GitHub
committed
Copy file name to clipboardExpand all lines: lib/Runtime/Base/CallInfo.h
Copy file name to clipboardExpand all lines: lib/Runtime/Library/GlobalObject.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JSONParser.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptArray.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptPromise.cpp
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit c2787ef

Suwei Chen
Type confusion in Array.prototype.filter
Type confusion due to reentrancy can cause a Var to be written into a native int array.
Fix by making sure type-specialized code path is used only when ArraySpeciesCreate() invokes
built-in Array constructor.
Heap overflow in Array.prototype.splice
In Array.prototype.splice, array length is cached before ArraySpeciesCreate() is invoked.
Side-effect from ArraySpeciesCreate() can change array length and result in inconsistent states
and possibly heap overflow.
Fix by adding length check to keep cases with side effects out of fast path with pre-calculated length.
Also tweak logic in ArraySpeciesCreate() to flag a non-built-in constructor with missing [@species] property.
Type confusion in FillFromPrototypes
In ForEachOwnMissingArrayIndexOfObject(), existing array enumeration logic assumes Var array.
A native array from caller can cause type confusion and leak.
Fix by converting incoming native arrays to Var arrays.
Parameter type confusion in eval
Extra argument signified by CallFlags_ExtraArg shall be cast to FrameDisplay unless the extra argument
is used for new.target, in which case CallFlags_NewTarget is be set. Type confusion and AV occur because
existing logic in eval() does not check if CallFlags_NewTarget is cleared before using extra argument as
FrameDisplay.
Fix by adding CallFlags_NewTarget check to eval() before cast to FrameDisplay.
Type confusion in JSON.parse
Non-native array is expected in JSONParser::Walk(). A native array from caller
can cause type confusion and heap overflow
Fix by converting native arrays to Var arrays.
Type confusion in Array.prototype.concat and .splice
Array newly created by ArraySpeciesCreate is not being checked if it is a
JavascriptCopyOnAccessNativeIntArray, causing near-nullptr AVs.
Fix by adding check-and-convert against JavascriptCopyOnAccessNativeIntArray in
affected built-ins.
1 parent 103f02f commit c2787efCopy full SHA for c2787ef
File tree
Expand file treeCollapse file tree
7 files changed
+274
-27
lines changedFilter options
- lib/Runtime
- Base
- Library
- test
- Array
- es6
Expand file treeCollapse file tree
7 files changed
+274
-27
lines changedlib/Runtime/Base/CallInfo.h
Copy file name to clipboardExpand all lines: lib/Runtime/Base/CallInfo.h+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 |
| |
69 | 79 |
| |
70 | 80 |
| |
|
lib/Runtime/Library/GlobalObject.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/GlobalObject.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
491 | 491 |
| |
492 | 492 |
| |
493 | 493 |
| |
494 |
| - | |
| 494 | + | |
495 | 495 |
| |
496 | 496 |
| |
497 | 497 |
| |
|
lib/Runtime/Library/JSONParser.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JSONParser.cpp+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
87 |
| - | |
| 86 | + | |
88 | 87 |
| |
89 | 88 |
| |
90 | 89 |
| |
|
lib/Runtime/Library/JavascriptArray.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptArray.cpp+72-20Lines changed: 72 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
714 | 714 |
| |
715 | 715 |
| |
716 | 716 |
| |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
717 | 751 |
| |
718 | 752 |
| |
719 | 753 |
| |
| |||
3308 | 3342 |
| |
3309 | 3343 |
| |
3310 | 3344 |
| |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
3311 | 3348 |
| |
3312 | 3349 |
| |
3313 | 3350 |
| |
| |||
5863 | 5900 |
| |
5864 | 5901 |
| |
5865 | 5902 |
| |
| 5903 | + | |
| 5904 | + | |
| 5905 | + | |
5866 | 5906 |
| |
5867 | 5907 |
| |
5868 | 5908 |
| |
5869 | 5909 |
| |
5870 | 5910 |
| |
5871 | 5911 |
| |
5872 | 5912 |
| |
| 5913 | + | |
| 5914 | + | |
| 5915 | + | |
5873 | 5916 |
| |
5874 | 5917 |
| |
5875 | 5918 |
| |
| |||
6649 | 6692 |
| |
6650 | 6693 |
| |
6651 | 6694 |
| |
| 6695 | + | |
| 6696 | + | |
| 6697 | + | |
6652 | 6698 |
| |
6653 | 6699 |
| |
6654 | 6700 |
| |
| |||
6657 | 6703 |
| |
6658 | 6704 |
| |
6659 | 6705 |
| |
| 6706 | + | |
| 6707 | + | |
| 6708 | + | |
6660 | 6709 |
| |
6661 | 6710 |
| |
6662 | 6711 |
| |
6663 |
| - | |
| 6712 | + | |
6664 | 6713 |
| |
6665 | 6714 |
| |
6666 | 6715 |
| |
| |||
7151 | 7200 |
| |
7152 | 7201 |
| |
7153 | 7202 |
| |
| 7203 | + | |
| 7204 | + | |
| 7205 | + | |
7154 | 7206 |
| |
7155 | 7207 |
| |
7156 | 7208 |
| |
| |||
8924 | 8976 |
| |
8925 | 8977 |
| |
8926 | 8978 |
| |
| 8979 | + | |
| 8980 | + | |
| 8981 | + | |
8927 | 8982 |
| |
8928 | 8983 |
| |
8929 | 8984 |
| |
| |||
9123 | 9178 |
| |
9124 | 9179 |
| |
9125 | 9180 |
| |
9126 |
| - | |
| 9181 | + | |
| 9182 | + | |
9127 | 9183 |
| |
9128 | 9184 |
| |
9129 | 9185 |
| |
| |||
9137 | 9193 |
| |
9138 | 9194 |
| |
9139 | 9195 |
| |
| 9196 | + | |
| 9197 | + | |
| 9198 | + | |
9140 | 9199 |
| |
9141 | 9200 |
| |
9142 | 9201 |
| |
| |||
9164 | 9223 |
| |
9165 | 9224 |
| |
9166 | 9225 |
| |
9167 |
| - | |
| 9226 | + | |
9168 | 9227 |
| |
9169 | 9228 |
| |
9170 | 9229 |
| |
| |||
10041 | 10100 |
| |
10042 | 10101 |
| |
10043 | 10102 |
| |
| 10103 | + | |
10044 | 10104 |
| |
10045 | 10105 |
| |
10046 | 10106 |
| |
| |||
10096 | 10156 |
| |
10097 | 10157 |
| |
10098 | 10158 |
| |
| 10159 | + | |
10099 | 10160 |
| |
10100 | 10161 |
| |
10101 | 10162 |
| |
| |||
10849 | 10910 |
| |
10850 | 10911 |
| |
10851 | 10912 |
| |
| 10913 | + | |
| 10914 | + | |
| 10915 | + | |
10852 | 10916 |
| |
10853 | 10917 |
| |
10854 | 10918 |
| |
| |||
10931 | 10995 |
| |
10932 | 10996 |
| |
10933 | 10997 |
| |
10934 |
| - | |
10935 |
| - | |
10936 |
| - | |
10937 |
| - | |
10938 |
| - | |
10939 |
| - | |
10940 |
| - | |
10941 |
| - | |
10942 |
| - | |
10943 |
| - | |
10944 |
| - | |
10945 |
| - | |
10946 |
| - | |
10947 |
| - | |
10948 |
| - | |
10949 |
| - | |
10950 |
| - | |
10951 | 10998 |
| |
10952 | 10999 |
| |
10953 | 11000 |
| |
| |||
11458 | 11505 |
| |
11459 | 11506 |
| |
11460 | 11507 |
| |
| 11508 | + | |
| 11509 | + | |
| 11510 | + | |
| 11511 | + | |
| 11512 | + | |
11461 | 11513 |
| |
11462 | 11514 |
| |
11463 | 11515 |
| |
|
lib/Runtime/Library/JavascriptPromise.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptPromise.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
910 | 910 |
| |
911 | 911 |
| |
912 | 912 |
| |
913 |
| - | |
| 913 | + | |
914 | 914 |
| |
915 | 915 |
| |
916 | 916 |
| |
|
You can’t perform that action at this time.
0 commit comments