madhon / flake

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

sonaranalyzer.csharp.9.23.1.88495.nupkg: 1 vulnerabilities (highest severity is: 5.5) #12

Closed mend-bolt-for-github[bot] closed 7 months ago

mend-bolt-for-github[bot] commented 7 months ago
Vulnerable Library - sonaranalyzer.csharp.9.23.1.88495.nupkg

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

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

Path to dependency file: /Flake/Flake.csproj

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

Found in HEAD commit: b2ac08c4cd7fe59c746bb655f24597e7f30496d6

Vulnerabilities

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

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

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

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

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

Path to dependency file: /Flake/Flake.csproj

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

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

Found in HEAD commit: b2ac08c4cd7fe59c746bb655f24597e7f30496d6

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)