valdisiljuconoks/localization-provider-opti

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

Closed this issue · 0 comments

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Libraries - buildbundlerminifier.3.2.449.nupkg, newtonsoft.json.11.0.2.nupkg, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, Newtonsoft.Json-11.0.2.21924.dll, newtonsoft.json.11.0.2.nupkg

buildbundlerminifier.3.2.449.nupkg

Bundles and minifies CSS, JS and HTML files

Library home page: https://api.nuget.org/packages/buildbundlerminifier.3.2.449.nupkg

Path to dependency file: /samples/AlloySampleSite/AlloySampleSite.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/buildbundlerminifier/3.2.449/buildbundlerminifier.3.2.449.nupkg

Dependency Hierarchy:

  • buildbundlerminifier.3.2.449.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 vulnerable library: /src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg

Dependency Hierarchy:

  • newtonsoft.json.11.0.2.nupkg (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET Standard 1.3

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

Path to vulnerable library: /src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.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: /tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET 2.0

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

Path to vulnerable library: /src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET Standard 1.0

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

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET 3.5

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

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET .NET 4.0

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

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET Portable

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

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET

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

Path to vulnerable library: /src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (Vulnerable Library)
Newtonsoft.Json-11.0.2.21924.dll

Json.NET Portable .NET 4.0

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

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Sample/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll,/src/DbLocalizationProvider.MigrationTool/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll,/tests/DbLocalizationProvider.EPiServer.Tests/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll

Dependency Hierarchy:

  • Newtonsoft.Json-11.0.2.21924.dll (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: /tests/DbLocalizationProvider.EPiServer.Sample/DbLocalizationProvider.EPiServer.Sample.csproj

Path to vulnerable library: /tests/DbLocalizationProvider.EPiServer.Sample/DbLocalizationProvider.EPiServer.Sample.csproj,/src/DbLocalizationProvider.MigrationTool/DbLocalizationProvider.MigrationTool.csproj

Dependency Hierarchy:

  • newtonsoft.json.11.0.2.nupkg (Vulnerable Library)

Found in HEAD commit: 98611e70cceac8c24e0266c0e59c76c9ba8bb9fb

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