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

Insecure dependency, or a security attack #2702

Closed
4 tasks done
bogdandrutu opened this issue Mar 29, 2022 · 3 comments
Closed
4 tasks done

Insecure dependency, or a security attack #2702

bogdandrutu opened this issue Mar 29, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@bogdandrutu
Copy link

Welcome

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).
  • Yes, I've tried with the standalone linter if available. (https://golangci-lint.run/usage/linters/)

Description of the problem

Security issue with one dependency:

go.opentelemetry.io/collector/internal/tools imports
        github.com/golangci/golangci-lint/cmd/golangci-lint imports
        github.com/golangci/golangci-lint/pkg/commands imports
        github.com/golangci/golangci-lint/pkg/lint/lintersdb imports
        github.com/golangci/golangci-lint/pkg/golinters imports
        github.com/blizzy78/varnamelen: github.com/blizzy78/varnamelen@v0.6.1: verifying module: checksum mismatch
        downloaded: h1:iYAU/3A6cpfRm2ZI0P/lece4jsc7GEbzsxTu+vBCChQ=
        sum.golang.org: h1:kttPCLzXFa+0nt++Cw9fb7GrSSM4KkyIAoX/vXsbuqA=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

Version of golangci-lint

$ golangci-lint --version
# Paste output here

v1.45.2 - cannot put the output here since I cannot run `go mod tidy` on my tools directory.

Configuration file

$ cat .golangci.yml
# paste output here

# paste output here

Go environment

$ go version && go env
# paste output here

go version go1.18 darwin/amd64

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v
# paste output here

# NO DERAILS

Code example or link to a public repository

// add your code here
No CODE
@bogdandrutu bogdandrutu added the bug Something isn't working label Mar 29, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Mar 29, 2022

Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.

@bogdandrutu
Copy link
Author

Already done.

@ldez ldez added duplicate This issue or pull request already exists and removed bug Something isn't working labels Mar 29, 2022
@ldez
Copy link
Member

ldez commented Mar 29, 2022

duplicate of #2683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants