opensearch-project / opentelemetry-demo

This repository contains the OpenSearch adaptation for the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
https://opentelemetry.io/docs/demo/
Apache License 2.0
16 stars 17 forks source link

opentelemetry-exporter-otlp-0.21.3.gem: 1 vulnerabilities (highest severity is: 7.5) - autoclosed #71

Closed mend-for-github-com[bot] closed 12 months ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - opentelemetry-exporter-otlp-0.21.3.gem

Path to dependency file: /src/emailservice/Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/google-protobuf-3.21.1.gem

Found in HEAD commit: dbe873acc75992a5ca0724bd1222561d2651439d

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (opentelemetry-exporter-otlp version) Remediation Possible**
CVE-2022-3171 High 7.5 google-protobuf-3.21.1.gem Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2022-3171 ### Vulnerable Library - google-protobuf-3.21.1.gem

Protocol Buffers are Google's data interchange format.

Library home page: https://rubygems.org/gems/google-protobuf-3.21.1.gem

Path to dependency file: /src/emailservice/Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/google-protobuf-3.21.1.gem

Dependency Hierarchy: - opentelemetry-exporter-otlp-0.21.3.gem (Root Library) - :x: **google-protobuf-3.21.1.gem** (Vulnerable Library)

Found in HEAD commit: dbe873acc75992a5ca0724bd1222561d2651439d

Found in base branch: main

### Vulnerability Details

A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.

Publish Date: 2022-10-12

URL: CVE-2022-3171

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - 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-h4h5-3hr4-j3g2

Release Date: 2022-10-12

Fix Resolution: com.google.protobuf:protobuf-java:3.16.3,3.19.6,3.20.3,3.21.7;com.google.protobuf:protobuf-javalite:3.16.3,3.19.6,3.20.3,3.21.7;com.google.protobuf:protobuf-kotlin:3.19.6,3.20.3,3.21.7;com.google.protobuf:protobuf-kotlin-lite:3.19.6,3.20.3,3.21.7;google-protobuf - 3.19.6,3.20.3,3.21.7

mend-for-github-com[bot] commented 12 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.

mend-for-github-com[bot] commented 12 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.