Skip to content

CVE-2021-22570 (Medium) detected in specflow.tools.msbuild.generation.3.1.62.nupkg #223

Open
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-22570 - Medium Severity Vulnerability

Vulnerable Library - specflow.tools.msbuild.generation.3.1.62.nupkg

Package to enable the code-behind file generation during build time http://specflow.org/documentatio...

Library home page: https://api.nuget.org/packages/specflow.tools.msbuild.generation.3.1.62.nupkg

Path to dependency file: /Ghpr.SpecFlowPlugin/Ghpr.TestsForDebug/Ghpr.TestsForDebug.NUnitTests.csproj

Path to vulnerable library: /Ghpr.SpecFlowPlugin/Ghpr.TestsForDebug/Ghpr.TestsForDebug.NUnitTests.csproj,/Ghpr.SpecFlowPlugin/Ghpr.TestsForDebug.MSTest/Ghpr.TestsForDebug.MSTestTests.csproj

Dependency Hierarchy:

  • specflow.tools.msbuild.generation.3.1.62.nupkg (Vulnerable Library)

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions