Vulnerability advisory
CVE-2024-21907
Improper Handling of Exceptional Conditions in Newtonsoft.Json
Also known as GHSA-5crp-9r3c-p9vr
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/jamesnk/newtonsoft.json ↗ | |
| All commits before ae9fe44e1323e91bcbd185ca1a14099fba7c021f | ae9fe44e1323e91bcbd185ca1a14099fba7c021f |
| Not specified | 7e77bbe1beccceac4fc7b174b53abfefac278b66 |
Also listed as affected (56)
| |
Description
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.
References
- Webalephsecurity.com/2018/10/22/StackOverflowException/ ↗
- Webalephsecurity.com/vulns/aleph-2018004 ↗
- Webnuget.org/packages ↗
- Websecurity.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21907.json ↗
- Advisorygithub.com/advisories/GHSA-5crp-9r3c-p9vr ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-21907 ↗
- Advisoryvulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr ↗
- Reportgithub.com/JamesNK/Newtonsoft.Json/issues/2457 ↗
- Fixgithub.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 ↗
- Fixgithub.com/JamesNK/Newtonsoft.Json/pull/2462 ↗