madhon / flake

A port of Twitter's Snowflake algorithm to C#.
1 stars 0 forks source link

sonaranalyzer.csharp.9.1.0.70676.nupkg: 1 vulnerabilities (highest severity is: 5.5) #7

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - sonaranalyzer.csharp.9.1.0.70676.nupkg

Roslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code.

Library home page: https://api.nuget.org/packages/sonaranalyzer.csharp.9.1.0.70676.nupkg

Path to dependency file: /Flake/Flake.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/sonaranalyzer.csharp/9.1.0.70676/sonaranalyzer.csharp.9.1.0.70676.nupkg

Found in HEAD commit: 455c8bc0951c6aa95625d186f23f13cc146cda8f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (sonaranalyzer.csharp.9.1.0.70676.nupkg version) Remediation Available
CVE-2021-22570 Medium 5.5 sonaranalyzer.csharp.9.1.0.70676.nupkg Direct Google.Protobuf - 3.15.0

Details

CVE-2021-22570 ### Vulnerable Library - sonaranalyzer.csharp.9.1.0.70676.nupkg

Roslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code.

Library home page: https://api.nuget.org/packages/sonaranalyzer.csharp.9.1.0.70676.nupkg

Path to dependency file: /Flake/Flake.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/sonaranalyzer.csharp/9.1.0.70676/sonaranalyzer.csharp.9.1.0.70676.nupkg

Dependency Hierarchy: - :x: **sonaranalyzer.csharp.9.1.0.70676.nupkg** (Vulnerable Library)

Found in HEAD commit: 455c8bc0951c6aa95625d186f23f13cc146cda8f

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: https://github.com/advisories/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](https://www.whitesourcesoftware.com/full_solution_bolt_github)