Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

CVE-2024-21907 (High) detected in multiple libraries #449

@mend-for-github-com

Description

@mend-for-github-com

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - opencover.4.7.922.nupkg, newtonsoft.json.9.0.1.nupkg, reportgenerator.4.0.14.nupkg

opencover.4.7.922.nupkg

An open source code coverage tool (branch and sequence point) for all .NET Frameworks 2 and above. A...

Library home page: https://api.nuget.org/packages/opencover.4.7.922.nupkg

Path to dependency file: /desktop/src/Plexus.Interop.Transport.Testing/Plexus.Interop.Transport.Testing.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/opencover/4.7.922/opencover.4.7.922.nupkg,/ackages/opencover/4.7.922/opencover.4.7.922.nupkg

Dependency Hierarchy:

  • opencover.4.7.922.nupkg (Vulnerable Library)
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: /desktop/src/Plexus.Interop.Transport.Protocol.Tests/Plexus.Interop.Transport.Protocol.Tests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/newtonsoft.json/9.0.1/newtonsoft.json.9.0.1.nupkg

Dependency Hierarchy:

  • xunit.runner.visualstudio.2.4.1.nupkg (Root Library)
    • microsoft.net.test.sdk.16.0.0.nupkg
      • microsoft.testplatform.testhost.16.0.0.nupkg
        • newtonsoft.json.9.0.1.nupkg (Vulnerable Library)
reportgenerator.4.0.14.nupkg

ReportGenerator converts XML reports generated by OpenCover, dotCover, Visual Studio, NCover, Cobert...

Library home page: https://api.nuget.org/packages/reportgenerator.4.0.14.nupkg

Path to dependency file: /desktop/src/Plexus.Interop.Transport.Testing/Plexus.Interop.Transport.Testing.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/reportgenerator/4.0.14/reportgenerator.4.0.14.nupkg,/ackages/reportgenerator/4.0.14/reportgenerator.4.0.14.nupkg

Dependency Hierarchy:

  • reportgenerator.4.0.14.nupkg (Vulnerable Library)

Found in HEAD commit: d9d610777e200bce5bd2af9d06959650b9b5a998

Found in base branch: master

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions