sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
549 stars 76 forks source link

[DepShield] (CVSS 7.7) Vulnerability due to usage of github.com/coreos:etcd:3.3.13 #182

Closed sonatype-depshield[bot] closed 3 years ago

sonatype-depshield[bot] commented 3 years ago

Vulnerabilities

DepShield reports that this application's usage of github.com/coreos:etcd:3.3.13 results in the following vulnerability(s):


Occurrences

github.com/coreos:etcd:3.3.13 is a transitive dependency introduced by the following direct dependency(s):

github.com/spf13:viper:1.7.1         └─ github.com/bketelsen:crypt:0.0.3-0.20200106085610-5cbc8cc4026c               └─ github.com/coreos:etcd:3.3.13

This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.

DarthHater commented 3 years ago

@bhamail this is a false positive correct (since we replace this)?

bhamail commented 3 years ago

Closing as false positive. The app actually uses a different version of etcd than reported by go mod graph, due to the replace directive below:

// fix vulnerability: CVE-2020-15114 in etcd v3.3.13+incompatible
replace github.com/coreos/etcd => github.com/coreos/etcd v3.3.24+incompatible
$ go list -m all | grep etcd
github.com/coreos/etcd v3.3.13+incompatible => github.com/coreos/etcd v3.3.24+incompatible
go.etcd.io/bbolt v1.3.2