Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-bolt-for-github bot opened this issue Apr 14, 2024 · 0 comments
Open

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

mend-bolt-for-github bot opened this issue Apr 14, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Apr 14, 2024

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - microsoft.net.sdk.functions.3.0.3.nupkg, coverlet.collector.1.3.0.nupkg, microsoft.net.sdk.functions.3.0.10.nupkg, microsoft.net.sdk.functions.3.0.7.nupkg, microsoft.net.sdk.functions.4.1.0.nupkg, newtonsoft.json.11.0.2.nupkg, newtonsoft.json.12.0.2.nupkg

microsoft.net.sdk.functions.3.0.3.nupkg

Build SDK for Azure Functions

Library home page: https://api.nuget.org/packages/microsoft.net.sdk.functions.3.0.3.nupkg

Path to dependency file: /CustomTriggerAndBinding/CustomTriggerAndBinding.Functions/CustomTriggerAndBinding.Functions.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.net.sdk.functions/3.0.3/microsoft.net.sdk.functions.3.0.3.nupkg

Dependency Hierarchy:

  • microsoft.net.sdk.functions.3.0.3.nupkg (Vulnerable Library)
coverlet.collector.1.3.0.nupkg

Coverlet is a cross platform code coverage library for .NET, with support for line, branch and method coverage.

Library home page: https://api.nuget.org/packages/coverlet.collector.1.3.0.nupkg

Path to dependency file: /AppConfigSyncFunction/AppConfigSyncFunction.Tests/AppConfigSyncFunction.Tests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/coverlet.collector/1.3.0/coverlet.collector.1.3.0.nupkg

Dependency Hierarchy:

  • coverlet.collector.1.3.0.nupkg (Vulnerable Library)
microsoft.net.sdk.functions.3.0.10.nupkg

Build SDK for Azure Functions

Library home page: https://api.nuget.org/packages/microsoft.net.sdk.functions.3.0.10.nupkg

Path to dependency file: /AppConfigSyncFunction/AppConfigSyncFunction.Tests/AppConfigSyncFunction.Tests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.net.sdk.functions/3.0.10/microsoft.net.sdk.functions.3.0.10.nupkg

Dependency Hierarchy:

  • microsoft.net.sdk.functions.3.0.10.nupkg (Vulnerable Library)
microsoft.net.sdk.functions.3.0.7.nupkg

Build SDK for Azure Functions

Library home page: https://api.nuget.org/packages/microsoft.net.sdk.functions.3.0.7.nupkg

Path to dependency file: /MonitoringAzureFunctions/MonitoringAzureFunctions/MonitoringAzureFunctions.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.net.sdk.functions/3.0.7/microsoft.net.sdk.functions.3.0.7.nupkg

Dependency Hierarchy:

  • microsoft.net.sdk.functions.3.0.7.nupkg (Vulnerable Library)
microsoft.net.sdk.functions.4.1.0.nupkg

Build SDK for Azure Functions

Library home page: https://api.nuget.org/packages/microsoft.net.sdk.functions.4.1.0.nupkg

Path to dependency file: /ServerlessKeyRotation/ServerlessKeyRotation.Functions/ServerlessKeyRotation.Functions.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.net.sdk.functions/4.1.0/microsoft.net.sdk.functions.4.1.0.nupkg

Dependency Hierarchy:

  • microsoft.net.sdk.functions.4.1.0.nupkg (Vulnerable Library)
newtonsoft.json.11.0.2.nupkg

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

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

Path to dependency file: /AppConfigSyncFunction/AppConfigSyncFunction.Tests/AppConfigSyncFunction.Tests.csproj

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

Dependency Hierarchy:

  • microsoft.azure.management.appservice.fluent.1.38.0.nupkg (Root Library)
    • microsoft.rest.clientruntime.azure.3.3.18.nupkg
      • microsoft.rest.clientruntime.2.3.20.nupkg
        • newtonsoft.json.11.0.2.nupkg (Vulnerable Library)
newtonsoft.json.12.0.2.nupkg

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

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

Path to dependency file: /CustomTriggerAndBinding/Twitter/Twitter.csproj

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

Dependency Hierarchy:

  • tweetinviapi.4.0.3.nupkg (Root Library)
    • newtonsoft.json.12.0.2.nupkg (Vulnerable Library)

Found in HEAD commit: 8a62f736feb5316b487aa5316cd7b256835683ed

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


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants