artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

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

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

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

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - newtonsoft.json.11.0.2.nupkg, newtonsoft.json.11.0.1.nupkg, Newtonsoft.Json-12.0.3.23909.dll, Newtonsoft.Json-11.0.2.21924.dll

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: /aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/DotNetServerless.Lambda.csproj

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

Dependency Hierarchy: - microsoft.extensions.configuration.json.2.1.1.nupkg (Root Library) - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

newtonsoft.json.11.0.1.nupkg

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

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

Path to dependency file: /aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Application/DotNetServerless.Application.csproj

Path to vulnerable library: /uget/packages/newtonsoft.json/11.0.1/newtonsoft.json.11.0.1.nupkg

Dependency Hierarchy: - :x: **newtonsoft.json.11.0.1.nupkg** (Vulnerable Library)

Newtonsoft.Json-12.0.3.23909.dll

Json.NET .NET Standard 2.0

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

Path to vulnerable library: /azure-node-line-bot/node_modules/azure-functions-core-tools/bin/Newtonsoft.Json.dll,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/bin/workers/powershell/6/Newtonsoft.Json.dll,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/bin/Newtonsoft.Json.dll,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/azure-functions-core-tools/bin/workers/powershell/Newtonsoft.Json.dll,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/bin/workers/powershell/7/Newtonsoft.Json.dll,/azure-node-line-bot/node_modules/azure-functions-core-tools/bin/workers/powershell/7/Newtonsoft.Json.dll,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/bin/workers/powershell/7/Newtonsoft.Json.dll,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/bin/workers/powershell/6/Newtonsoft.Json.dll,/azure-node-line-bot/node_modules/azure-functions-core-tools/bin/workers/powershell/6/Newtonsoft.Json.dll,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/bin/Newtonsoft.Json.dll

Dependency Hierarchy: - :x: **Newtonsoft.Json-12.0.3.23909.dll** (Vulnerable Library)

Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET Standard 2.0

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

Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/azure-functions-core-tools/bin/Newtonsoft.Json.dll

Dependency Hierarchy: - :x: **Newtonsoft.Json-11.0.2.21924.dll** (Vulnerable Library)

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: 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