valdisiljuconoks / LocalizationProvider

Database driven localization provider for .NET applications (core assemblies)
https://tech-fellow.eu/
Apache License 2.0
123 stars 41 forks source link

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

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

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

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - coverlet.collector.6.0.0.nupkg, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, Newtonsoft.Json-9.0.1.19813.dll, newtonsoft.json.9.0.1.nupkg

coverlet.collector.6.0.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.6.0.0.nupkg

Path to dependency file: /Tests/DbLocalizationProvider.Storage.PostgreSql.Tests/DbLocalizationProvider.Storage.PostgreSql.Tests.csproj

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

Dependency Hierarchy: - :x: **coverlet.collector.6.0.0.nupkg** (Vulnerable Library)

Newtonsoft.Json-9.0.1.19813.dll

Json.NET .NET Standard 1.0

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/netstandard1.0/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET .NET 2.0

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/net20/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET Portable

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET .NET 3.5

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/net35/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET Portable .NET 4.0

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll

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

Newtonsoft.Json-9.0.1.19813.dll

Json.NET .NET 4.0

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll

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

newtonsoft.json.9.0.1.nupkg

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

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

Path to vulnerable library: /Tests/DbLocalizationProvider.Tests/packages/Newtonsoft.Json.9.0.1/Newtonsoft.Json.9.0.1.nupkg

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

Found in HEAD commit: 0cbb84012dd1a64bfd0c69be7f10d520649195d1

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;Microsoft.Extensions.ApiDescription.Server - 6.0.0


Step up your Open Source Security Game with Mend here