Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indirect dependency from go-viper includes critical vulnerability CVE-2021-28235 #779

Open
5 tasks
CosmicEgg opened this issue May 23, 2024 · 0 comments
Open
5 tasks

Comments

@CosmicEgg
Copy link

PLEASE READ

DO NOT submit tickets without first using the latest version of Golang, clearing your local golang package cache, and re-building mockery using the latest Golang version and the latest version of mockery. Please provide evidence this has been done in your issue. Failure to provide this evidence will likely result in your issue being closed.

Description

Mockery Version > v2.9.4 is using a module called github.com/spf13/viper < v1.16.0 which contains a module called ectd. The version 3.5.1 to 3.5.6 of etcd package includes critical vulnerability CVE-2021-28235. Upgrade to Viper package using etcd > v3.5.6.

Mockery Version

Version > v2.9.4

Golang Version

go 1.21

NOTE: Please upgrade to the latest golang version before submitting tickets!

Installation Method

  • Binary Distribution
  • Docker
  • brew
  • go install
  • Other: [specify]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [etc]

Expected Behavior

Would be nice to upgrade viper to version > v.1.15.0

Actual Behavior

[what actually happened]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant