madhon / catalogjwt

Catalog API with JWT Auth Sample
0 stars 0 forks source link

sonaranalyzer.csharp.9.31.0.96804.nupkg: 1 vulnerabilities (highest severity is: 5.5) - autoclosed #516

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

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

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

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

Path to dependency file: /Catalog.Gateway/Catalog.Gateway.csproj

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

Found in HEAD commit: 0f14b2ea561b421f9e98d156fdcba4a80ebef443

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (sonaranalyzer.csharp.9.31.0.96804.nupkg version) Remediation Possible**
CVE-2021-22570 Medium 5.5 sonaranalyzer.csharp.9.31.0.96804.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.31.0.96804.nupkg

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

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

Path to dependency file: /Catalog.Gateway/Catalog.Gateway.csproj

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

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

Found in HEAD commit: 0f14b2ea561b421f9e98d156fdcba4a80ebef443

Found in base branch: master

### 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)
mend-bolt-for-github[bot] commented 2 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.