Chakra Core vulnerable to privilege escalation when writing to JavaScript null scope objects
Published 17 May 2022 · Updated 19 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 1703, 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. This could be exploited using write-AV when writing to a slot of a JavaScript null scope object.
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-11862, CVE-2017-11866, CVE-2017-11869, CVE-2017-11871, and CVE-2017-11873.
Is GHSA-9f2p-wm46-6m5f 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-11870
- Linkgithub.com/chakra-core/ChakraCore/pull/4226
- Linkgithub.com/chakra-core/ChakraCore/commit/b44ee8300ae03026d3c39cdbbfd32d410ac187f6
- Packagegithub.com/chakra-core/ChakraCore
- Linkportal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-11870
- Linkweb.archive.org/web/20210516131515/http://www.securityfocus.com/bid/101731
- Linkweb.archive.org/web/20210517135249/http://www.securitytracker.com/id/1039780
- Linkwww.exploit-db.com/exploits/43182
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.