xmidt-org / talaria

The Xmidt routing agent.
Apache License 2.0
11 stars 21 forks source link

CVE-2020-26160 (High) detected in github.com/hashicorp/consul-v1.7.0 - autoclosed #167

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

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

CVE-2020-26160 - High Severity Vulnerability

Vulnerable Library - github.com/hashicorp/consul-v1.7.0

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Dependency Hierarchy: - github.com/go-kit/kit-v0.10.0 (Root Library) - :x: **github.com/hashicorp/consul-v1.7.0** (Vulnerable Library)

Found in HEAD commit: 290ce96cda28a56571e1f144d635039165fb23cd

Found in base branch: main

Vulnerability Details

jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.

Publish Date: 2020-09-30

URL: CVE-2020-26160

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: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2020-26160

Release Date: 2020-09-30

Fix Resolution: v4.0.0-preview1


Step up your Open Source Security Game with WhiteSource here

Sachin4403 commented 3 years ago

Hi @schmidtw dgrijalva/jwt-go is migrated to golang-jwt/jwt and this issue is fixed in version 3.2.1. Can we upgrade the JWT library?

johnabass commented 3 years ago

This should be a straightforward change. It also affects all our other servers except petasos.

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.

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

:information_source: This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory.

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