Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.
https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr
https://github.com/advisories/GHSA-5crp-9r3c-p9vr
https://github.com/JamesNK/Newtonsoft.Json/pull/2462
https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66