Edwindwin / 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 - autoclosed #68

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

mend-bolt-for-github[bot] commented 8 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: 5af50243cdecb3cfa77a106e482c2031bc8ab7da

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

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

:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #109