Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2022-0161 (High) detected in multiple libraries #154

Closed
mend-bolt-for-github bot opened this issue Jul 30, 2022 · 0 comments
Closed

WS-2022-0161 (High) detected in multiple libraries #154

mend-bolt-for-github bot opened this issue Jul 30, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jul 30, 2022

WS-2022-0161 - High Severity Vulnerability

Vulnerable Libraries - microsoft.extensions.apidescription.server.3.0.0.nupkg, newtonsoft.json.11.0.2.nupkg, coverlet.collector.1.0.1.nupkg, microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg, newtonsoft.json.12.0.2.nupkg

microsoft.extensions.apidescription.server.3.0.0.nupkg

MSBuild tasks and targets for build-time Swagger and OpenApi document generation

This package was b...

Library home page: https://api.nuget.org/packages/microsoft.extensions.apidescription.server.3.0.0.nupkg

Path to dependency file: /src/NetCore2Blockly/TestBlocklyHtml/TestBlocklyHtml.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0/microsoft.extensions.apidescription.server.3.0.0.nupkg

Dependency Hierarchy:

  • swashbuckle.aspnetcore.5.4.1.nupkg (Root Library)
    • microsoft.extensions.apidescription.server.3.0.0.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: /src/NetCore2Blockly/GraphQLDemo/GraphQLDemo.csproj

Path to vulnerable library: /tmp/ws-ua_20220730173103_IAWLTY/dotnet_EELVBD/20220730173103/newtonsoft.json/11.0.2/newtonsoft.json.11.0.2.nupkg

Dependency Hierarchy:

  • microsoft.visualstudio.web.codegeneration.design.3.1.3.nupkg (Root Library)
    • microsoft.visualstudio.web.codegenerators.mvc.3.1.3.nupkg
      • microsoft.visualstudio.web.codegeneration.3.1.3.nupkg
        • microsoft.visualstudio.web.codegeneration.entityframeworkcore.3.1.3.nupkg
          • microsoft.visualstudio.web.codegeneration.core.3.1.3.nupkg
            • newtonsoft.json.11.0.2.nupkg (Vulnerable Library)
coverlet.collector.1.0.1.nupkg

Coverlet is a cross platform code coverage library for .NET, with support for line, branch and metho...

Library home page: https://api.nuget.org/packages/coverlet.collector.1.0.1.nupkg

Path to dependency file: /src/NetCore2Blockly/NetCore2BlocklyUnitTests/NetCore2BlocklyUnitTests.csproj

Path to vulnerable library: /ackages/coverlet.collector/1.0.1/coverlet.collector.1.0.1.nupkg

Dependency Hierarchy:

  • coverlet.collector.1.0.1.nupkg (Vulnerable Library)
microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg

Targets files to enable the Visual Studio Tools for Containers.

Library home page: https://api.nuget.org/packages/microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg

Path to dependency file: /src/NetCore2Blockly/TestBlocklyHtml/TestBlocklyHtml.csproj

Path to vulnerable library: /ackages/microsoft.visualstudio.azure.containers.tools.targets/1.10.8/microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg

Dependency Hierarchy:

  • microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg (Vulnerable Library)
newtonsoft.json.12.0.2.nupkg

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

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

Path to dependency file: /src/NetCore2Blockly/TestBlocklyHtml/TestBlocklyHtml.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/newtonsoft.json/12.0.2/newtonsoft.json.12.0.2.nupkg

Dependency Hierarchy:

  • aspnetcore.healthchecks.ui.3.1.1.nupkg (Root Library)
    • kubernetesclient.1.6.10.nupkg
      • microsoft.aspnetcore.jsonpatch.3.0.0.nupkg
        • newtonsoft.json.12.0.2.nupkg (Vulnerable Library)

Found in HEAD commit: ae6a8bef5391d661cedb3b59fdc805c355551a57

Found in base branch: master

Vulnerability Details

Improper Handling of Exceptional Conditions in Newtonsoft.Json.
Newtonsoft.Json prior to version 13.0.1 is vulnerable to Insecure Defaults due to improper handling of StackOverFlow exception (SOE) whenever nested expressions are being processed. Exploiting this vulnerability results in Denial Of Service (DoS), and it is exploitable when an attacker sends 5 requests that cause SOE in time frame of 5 minutes. This vulnerability affects Internet Information Services (IIS) Applications.

Publish Date: 2022-06-22

URL: WS-2022-0161

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

Release Date: 2022-06-22

Fix Resolution: Newtonsoft.Json - 13.0.1;Microsoft.Extensions.ApiDescription.Server - 6.0.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

1 participant