Aziz4555 / serverless-full-stack-apps-azure-sql

Full stack solution using Vue.js, Azure Static Web Apps, Azure Function, Azure SQL Database and a microservice architecture to monitor in real-time public transportation data, create a geofence and send notification when geofence is activated
MIT License
0 stars 0 forks source link

CVE-2024-21907 (High) detected in microsoft.net.sdk.functions.3.0.7.nupkg, newtonsoft.json.11.0.2.nupkg #67

Open mend-bolt-for-github[bot] opened 9 months ago

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

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - microsoft.net.sdk.functions.3.0.7.nupkg, newtonsoft.json.11.0.2.nupkg

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: /azure-function/dotnet/GetBusData.csproj

Path to vulnerable library: /sdk.functions/3.0.7/microsoft.net.sdk.functions.3.0.7.nupkg

Dependency Hierarchy: - :x: **microsoft.net.sdk.functions.3.0.7.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: /azure-function/dotnet/GetBusData.csproj

Path to vulnerable library: /usr/share/dotnet/sdk/NuGetFallbackFolder/newtonsoft.json/11.0.2/newtonsoft.json.11.0.2.nupkg

Dependency Hierarchy: - microsoft.data.sqlclient.2.0.1.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.5.6.0.nupkg - microsoft.identitymodel.protocols.5.6.0.nupkg - microsoft.identitymodel.tokens.5.6.0.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

Found in HEAD commit: ab0f2378e7f45b542ff874b9102e8b8deaf54f69

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


Step up your Open Source Security Game with Mend here