ignatandrei / BlocklyAutomation

VisualAPI - LowCode Macros for YOUR API / HTTP Calls : https://visualapi.azurewebsites.net/
https://ignatandrei.github.io/BlocklyAutomation/
MIT License
34 stars 7 forks source link

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

Closed mend-bolt-for-github[bot] closed 4 months ago

mend-bolt-for-github[bot] commented 4 months ago

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - microsoft.extensions.apidescription.server.3.0.0.nupkg, microsoft.net.sdk.functions.4.0.1.nupkg, newtonsoft.json.11.0.2.nupkg

microsoft.extensions.apidescription.server.3.0.0.nupkg

MSBuild tasks and targets for build-time Swagger and OpenApi document generation This package was b...

Library home page: https://api.nuget.org/packages/microsoft.extensions.apidescription.server.3.0.0.nupkg

Path to dependency file: /src/examples/netcore6/NetCore6Blockly/NetCore6Blockly/NetCore6Blockly.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0/microsoft.extensions.apidescription.server.3.0.0.nupkg

Dependency Hierarchy: - swashbuckle.aspnetcore.6.2.3.nupkg (Root Library) - :x: **microsoft.extensions.apidescription.server.3.0.0.nupkg** (Vulnerable Library)

microsoft.net.sdk.functions.4.0.1.nupkg

Build SDK for Azure Functions

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

Path to dependency file: /src/examples/Net6AzureFunctions/Net6AzureFunctions/Net6AzureFunctions.csproj

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

Dependency Hierarchy: - :x: **microsoft.net.sdk.functions.4.0.1.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: /src/examples/Net6AzureFunctions/Net6AzureFunctions/Net6AzureFunctions.csproj

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

Dependency Hierarchy: - microsoft.net.sdk.functions.4.0.1.nupkg (Root Library) - microsoft.azure.webjobs.extensions.http.3.0.12.nupkg - microsoft.aspnet.webapi.client.5.2.4.nupkg - newtonsoft.json.bson.1.0.1.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

Found in HEAD commit: 642a29f4be078e5094d502da0a4f686426e9309b

Found in base branch: main

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: https://github.com/advisories/GHSA-5crp-9r3c-p9vr

Release Date: 2024-01-03

Fix Resolution: Newtonsoft.Json - 13.0.1;Microsoft.Extensions.ApiDescription.Server - 6.0.0


Step up your Open Source Security Game with Mend here