Chakra Core vulnerable to privilege escalation due to type confusion
Published 17 May 2022 · Updated 16 Feb 2024
Is your project on an affected Microsoft.ChakraCore?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.7.4
- Fixed in
- 1.7.4
dotnet add package Microsoft.ChakraCore --version 1.7.4Details
ChakraCore and Microsoft Edge in Windows 10 1709 and Windows Server, version 1709 allows an attacker to gain the same user rights as the current user, due to how the scripting engine handles objects in memory, aka "Scripting Engine Memory Corruption Vulnerability". Individual Export in module exports was not taking care of destructuring nodes, leading to type confusion. This was fixed by adding support for walking those nodes.
This CVE ID is unique from CVE-2017-11836, CVE-2017-11837, CVE-2017-11838, CVE-2017-11839, CVE-2017-11840, CVE-2017-11841, CVE-2017-11843, CVE-2017-11846, CVE-2017-11858, CVE-2017-11859, CVE-2017-11861, CVE-2017-11866, CVE-2017-11869, CVE-2017-11870, CVE-2017-11871, and CVE-2017-11873.
Is GHSA-pcr8-75v3-w9pf in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected Microsoft.ChakraCore, and gives you the command that fixes it.
More advisories for Microsoft.ChakraCore
- HighCVE-2020-0813ChakraCore information disclosure vulnerability · 24 May 2022
- HighCVE-2019-1002ChakraCore RCE via Out-of-bounds write · 24 May 2022
- HighCVE-2019-1051Chakra Scripting Engine RCE via Out-of-bounds write · 24 May 2022
- HighCVE-2019-1024Chakra Scripting Engine RCE Vulnerability · 24 May 2022
- HighCVE-2019-1052Chakra Scripting Engine RCE via Out-of-bounds write · 24 May 2022
- HighCVE-2021-42279Chakra Scripting Engine and ChakraCore Vulnerable to Memory Corruption · 24 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-11862
- Linkgithub.com/chakra-core/ChakraCore/pull/4226
- Linkgithub.com/chakra-core/ChakraCore/commit/66d733b9adebbe33cc7f48c159c48b7837aa4458
- Packagegithub.com/chakra-core/ChakraCore
- Linkportal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-11862
- Linkweb.archive.org/web/20210124114723/http://www.securityfocus.com/bid/101724
- Linkweb.archive.org/web/20210517135249/http://www.securitytracker.com/id/1039780
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.