Code Monkey home page Code Monkey logo

eshopdaprdevops's People

Contributors

ajaysingh77 avatar alicejgibbons avatar amolenk avatar edwinvw avatar hugogirard avatar mend-bolt-for-github[bot] avatar nishanil avatar robvet avatar yehia2amer avatar

Stargazers

 avatar  avatar  avatar

eshopdaprdevops's Issues

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

WS-2022-0161 - High Severity Vulnerability

Vulnerable Libraries - newtonsoft.json.9.0.1.nupkg, microsoft.extensions.apidescription.server.3.0.0.nupkg, microsoft.visualstudio.azure.containers.tools.targets.1.14.0.nupkg

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 dependency file: /src/Web/BlazorClient.Host/BlazorClient.Host.csproj

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

Dependency Hierarchy:

  • serilog.aspnetcore.4.1.0.nupkg (Root Library)
    • serilog.settings.configuration.3.1.0.nupkg
      • microsoft.extensions.dependencymodel.2.0.4.nupkg
        • newtonsoft.json.9.0.1.nupkg (Vulnerable Library)
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/ApiGateways/Aggregators/Web.Shopping.HttpAggregator/Web.Shopping.HttpAggregator.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.6.2.3.nupkg (Root Library)
    • microsoft.extensions.apidescription.server.3.0.0.nupkg (Vulnerable Library)
microsoft.visualstudio.azure.containers.tools.targets.1.14.0.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.14.0.nupkg

Path to dependency file: /src/ApiGateways/Aggregators/Web.Shopping.HttpAggregator/Web.Shopping.HttpAggregator.csproj

Path to vulnerable library: /ckages/microsoft.visualstudio.azure.containers.tools.targets/1.14.0/microsoft.visualstudio.azure.containers.tools.targets.1.14.0.nupkg

Dependency Hierarchy:

  • microsoft.visualstudio.azure.containers.tools.targets.1.14.0.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

Newtonsoft.Json prior to version 13.0.1 is vulnerable to Insecure Defaults due to improper handling of expressions with high nesting level that lead to StackOverFlow exception or high CPU and RAM usage. Exploiting this vulnerability results in Denial Of Service (DoS). \n\nThe serialization and deserialization path have different properties regarding the issue.\n\nDeserializing methods (like JsonConvert.DeserializeObject) will process the input that results in burning the CPU, allocating memory, and consuming a thread of execution. Quite high nesting level (>10kk, or 9.5MB of {a:{a:{... input) is needed to achieve the latency over 10 seconds, depending on the hardware.\n\nSerializing methods (like JsonConvert.Serialize or JObject.ToString) will throw StackOverFlow exception with the nesting level of around 20k.\n\nTo mitigate the issue one either need to update Newtonsoft.Json to 13.0.1 or set MaxDepth parameter in the JsonSerializerSettings. This can be done globally with the following statement. After that the parsing of the nested input will fail fast with Newtonsoft.Json.JsonReaderException:\n\n \nJsonConvert.DefaultSettings = () => new JsonSerializerSettings { MaxDepth = 128 };\n\n\nRepro code:\n\n//Create a string representation of an highly nested object (JSON serialized)\nint nRep = 25000;\nstring json = string.Concat(Enumerable.Repeat(\"{a:\", nRep)) + \"1\" +\n string.Concat(Enumerable.Repeat(\"}\", nRep));\n\n//Parse this object (leads to high CPU/RAM consumption)\nvar parsedJson = JsonConvert.DeserializeObject(json);\n\n// Methods below all throw stack overflow with nRep around 20k and higher\n// string a = parsedJson.ToString();\n// string b = JsonConvert.SerializeObject(parsedJson);\n\n\n### Additional affected product and version information\nThe original statement about the problem only affecting IIS applications is misleading. Any application is affected, however the IIS has a behavior that stops restarting the instance after some time resulting in a harder-to-fix DoS.**

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

CVE-2021-22570 (Medium) detected in google.protobuf.3.13.0.nupkg

CVE-2021-22570 - Medium Severity Vulnerability

Vulnerable Library - google.protobuf.3.13.0.nupkg

C# runtime library for Protocol Buffers - Google's data interchange format.

Library home page: https://api.nuget.org/packages/google.protobuf.3.13.0.nupkg

Path to dependency file: /src/ApiGateways/Aggregators/Web.Shopping.HttpAggregator/Web.Shopping.HttpAggregator.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/google.protobuf/3.13.0/google.protobuf.3.13.0.nupkg

Dependency Hierarchy:

  • dapr.client.1.6.0.nupkg (Root Library)
    • google.api.commonprotos.2.2.0.nupkg
      • google.protobuf.3.13.0.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.

Publish Date: 2022-01-26

URL: CVE-2021-22570

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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-77rm-9x9h-xj3g

Release Date: 2022-01-26

Fix Resolution: Google.Protobuf - 3.15.0


Step up your Open Source Security Game with Mend here

CVE-2021-21252 (High) detected in microsoft.aspnetcore.identity.ui.6.0.1.nupkg

CVE-2021-21252 - High Severity Vulnerability

Vulnerable Library - microsoft.aspnetcore.identity.ui.6.0.1.nupkg

ASP.NET Core Identity UI is the default Razor Pages built-in UI for the ASP.NET Core Identity framew...

Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.identity.ui.6.0.1.nupkg

Path to dependency file: /src/Services/Identity/Identity.API/Identity.API.csproj

Path to vulnerable library: /ckages/microsoft.aspnetcore.identity.ui/6.0.1/microsoft.aspnetcore.identity.ui.6.0.1.nupkg

Dependency Hierarchy:

  • microsoft.aspnetcore.identity.ui.6.0.1.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.

Publish Date: 2021-01-13

URL: CVE-2021-21252

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-jxwx-85vp-gvwm

Release Date: 2021-01-13

Fix Resolution: jquery-validation - 1.19.3


Step up your Open Source Security Game with Mend here

CVE-2022-1941 (High) detected in google.protobuf.3.13.0.nupkg - autoclosed

CVE-2022-1941 - High Severity Vulnerability

Vulnerable Library - google.protobuf.3.13.0.nupkg

C# runtime library for Protocol Buffers - Google's data interchange format.

Library home page: https://api.nuget.org/packages/google.protobuf.3.13.0.nupkg

Path to dependency file: /src/ApiGateways/Aggregators/Web.Shopping.HttpAggregator/Web.Shopping.HttpAggregator.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/google.protobuf/3.13.0/google.protobuf.3.13.0.nupkg

Dependency Hierarchy:

  • dapr.client.1.6.0.nupkg (Root Library)
    • google.api.commonprotos.2.2.0.nupkg
      • google.protobuf.3.13.0.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.

Publish Date: 2022-09-22

URL: CVE-2022-1941

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://cloud.google.com/support/bulletins#GCP-2022-019

Release Date: 2022-09-22

Fix Resolution: Google.Protobuf - 3.18.3,3.19.5,3.20.2,3.21.6;protobuf-python - 3.18.3,3.19.5,3.20.2,4.21.6


Step up your Open Source Security Game with Mend here

CVE-2021-24112 (High) detected in system.drawing.common.4.7.0.nupkg

CVE-2021-24112 - High Severity Vulnerability

Vulnerable Library - system.drawing.common.4.7.0.nupkg

Provides access to GDI+ graphics functionality.

Commonly Used Types:
System.Drawing.Bitmap
System.D...

Library home page: https://api.nuget.org/packages/system.drawing.common.4.7.0.nupkg

Path to dependency file: /src/Services/Catalog/Catalog.API/Catalog.API.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.drawing.common/4.7.0/system.drawing.common.4.7.0.nupkg

Dependency Hierarchy:

  • microsoft.entityframeworkcore.sqlserver.6.0.1.nupkg (Root Library)
    • microsoft.data.sqlclient.3.0.1.nupkg
      • system.runtime.caching.4.7.0.nupkg
        • system.configuration.configurationmanager.4.7.0.nupkg
          • system.security.permissions.4.7.0.nupkg
            • system.windows.extensions.4.7.0.nupkg
              • system.drawing.common.4.7.0.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

.NET Core Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-26701.

Publish Date: 2021-02-25

URL: CVE-2021-24112

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-rxg9-xrhp-64gj

Release Date: 2021-02-25

Fix Resolution: System.Drawing.Common - 4.7.2,5.0.3


Step up your Open Source Security Game with Mend here

CVE-2019-0820 (High) detected in system.text.regularexpressions.4.1.0.nupkg - autoclosed

CVE-2019-0820 - High Severity Vulnerability

Vulnerable Library - system.text.regularexpressions.4.1.0.nupkg

Provides the System.Text.RegularExpressions.Regex class, an implementation of a regular expression e...

Library home page: https://api.nuget.org/packages/system.text.regularexpressions.4.1.0.nupkg

Path to dependency file: /src/Web/BlazorClient.Host/BlazorClient.Host.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.text.regularexpressions/4.1.0/system.text.regularexpressions.4.1.0.nupkg

Dependency Hierarchy:

  • serilog.aspnetcore.4.1.0.nupkg (Root Library)
    • serilog.settings.configuration.3.1.0.nupkg
      • microsoft.extensions.dependencymodel.2.0.4.nupkg
        • newtonsoft.json.9.0.1.nupkg
          • system.text.regularexpressions.4.1.0.nupkg (Vulnerable Library)

Found in HEAD commit: 41e2e7d76c75fa2971e80c9fce811750ff0c459e

Found in base branch: main

Vulnerability Details

A denial of service vulnerability exists when .NET Framework and .NET Core improperly process RegEx strings, aka '.NET Framework and .NET Core Denial of Service Vulnerability'. This CVE ID is unique from CVE-2019-0980, CVE-2019-0981.
Mend Note: After conducting further research, Mend has determined that CVE-2019-0820 only affects environments with versions 4.3.0 and 4.3.1 only on netcore50 environment of system.text.regularexpressions.nupkg.

Publish Date: 2019-05-16

URL: CVE-2019-0820

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-cmhx-cq75-c4mj

Release Date: 2019-05-16

Fix Resolution: System.Text.RegularExpressions - 4.3.1


Step up your Open Source Security Game with Mend here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.