Skip to content

CVE-2024-21907 (High) detected in newtonsoft.json.9.0.1.nupkg, newtonsoft.json.10.0.2.nupkg #21

@mend-for-github-com

Description

@mend-for-github-com

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - newtonsoft.json.9.0.1.nupkg, newtonsoft.json.10.0.2.nupkg

newtonsoft.json.9.0.1.nupkg

Json.NET is a popular high-performance JSON framework for .NET

Library home page: https://api.nuget.org/packages/newtonsoft.json.9.0.1.nupkg

Path to dependency file: /Activities/Cryptography/UiPath.Cryptography.Activities.Tests/UiPath.Cryptography.Activities.Tests.csproj

Path to vulnerable library: /tmp/ws-ua_20230620162214_SSRFPG/dotnet_EGMXVM/20230620162214/newtonsoft.json/9.0.1/newtonsoft.json.9.0.1.nupkg

Dependency Hierarchy:

  • microsoft.net.test.sdk.15.0.0.nupkg (Root Library)
    • microsoft.testplatform.testhost.15.0.0.nupkg
      • newtonsoft.json.9.0.1.nupkg (Vulnerable Library)
newtonsoft.json.10.0.2.nupkg

Json.NET is a popular high-performance JSON framework for .NET

Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.2.nupkg

Path to dependency file: /Integrations/Google/UiPath.Google/UiPath.Google.csproj

Path to vulnerable library: /tmp/ws-ua_20230620162214_SSRFPG/dotnet_EGMXVM/20230620162214/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg

Dependency Hierarchy:

  • newtonsoft.json.10.0.2.nupkg (Vulnerable Library)

Found in HEAD commit: 0c6513d8fe51047cbb7f6a41f2c1a1a25712e96a

Found in base branch: develop

Vulnerability Details

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.

Publish Date: 2024-01-03

URL: CVE-2024-21907

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-5crp-9r3c-p9vr

Release Date: 2024-01-03

Fix Resolution: Newtonsoft.Json - 13.0.1


  • Check this box to open an automated fix PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions