xmidt-org / candlelight

An OpenTelemetry integration that provides an easy way to add operational visibility to webservices.
Apache License 2.0
1 stars 5 forks source link

CVE-2021-22878 (Medium) detected in github.com/hashicorp/hcl-v1.0.0, github.com/hashicorp/hcl/hcl/parser-v1.0.0 - autoclosed #17

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-22878 - Medium Severity Vulnerability

Vulnerable Libraries - github.com/hashicorp/hcl-v1.0.0, github.com/hashicorp/hcl/hcl/parser-v1.0.0

github.com/hashicorp/hcl-v1.0.0

HCL is the HashiCorp configuration language.

Dependency Hierarchy: - github.com/xmidt-org/webpa-common/logging/logginghttp-v1.11.4 (Root Library) - github.com/xmidt-org/webpa-common/logging-v1.11.4 - github.com/spf13/viper-v1.7.1 - :x: **github.com/hashicorp/hcl-v1.0.0** (Vulnerable Library)

github.com/hashicorp/hcl/hcl/parser-v1.0.0

HCL is the HashiCorp configuration language.

Dependency Hierarchy: - github.com/xmidt-org/webpa-common/logging/logginghttp-v1.11.4 (Root Library) - github.com/xmidt-org/webpa-common/logging-v1.11.4 - github.com/spf13/viper-v1.7.1 - github.com/hashicorp/hcl-v1.0.0 - :x: **github.com/hashicorp/hcl/hcl/parser-v1.0.0** (Vulnerable Library)

Found in HEAD commit: a1596799d72e58f79bbfed335f18b3016eb09df9

Found in base branch: main

Vulnerability Details

Nextcloud Server prior to 20.0.6 is vulnerable to reflected cross-site scripting (XSS) due to lack of sanitization in `OC.Notification.show`.

Publish Date: 2021-03-03

URL: CVE-2021-22878

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: High - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nextcloud.com/security/advisory/?id=NC-SA-2021-005

Release Date: 2021-03-03

Fix Resolution: v20.0.6


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 3 years ago

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