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.
Vulnerable Library - sonaranalyzer.csharp.9.12.0.78982.nupkg
Roslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code.
Library home page: https://api.nuget.org/packages/sonaranalyzer.csharp.9.12.0.78982.nupkg
Found in HEAD commit: 22879a7cdd1cbe6f67c8f8265d035e49be688797
Vulnerabilities
**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.12.0.78982.nupkgRoslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code.
Library home page: https://api.nuget.org/packages/sonaranalyzer.csharp.9.12.0.78982.nupkg
Dependency Hierarchy: - :x: **sonaranalyzer.csharp.9.12.0.78982.nupkg** (Vulnerable Library)
Found in HEAD commit: 22879a7cdd1cbe6f67c8f8265d035e49be688797
Found in base branch: main
### Vulnerability DetailsNullptr 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 FixType: 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)