go-kit / kit

A standard library for microservices.
https://gokit.io
MIT License
26.35k stars 2.42k forks source link

Vulnerability of dependency "golang.org/x/net, golang.org/x/text, github.com/nats-io/nats-server/v2" #1267

Closed Silence-worker-02 closed 12 months ago

Silence-worker-02 commented 12 months ago

What did you do?

Hello, we are a team researching the dependency management mechanism of Golang. During our analysis, we came across your project and noticed that it contains a vulnerability (CVE-2022-41723, CVE-2022-41717, CVE-2022-27664, CVE-2021-44716, CVE-2022-32149, CVE-2022-42709, CVE-2022-42708). In your project, the golang.org/x/net package is being used at version golang.org/x/net v0.0.0-20211216030914-fe4d6282115f, but the patched version is v0.7.0, to fix the vulnerability, we recommend modifying the go.mod file to update the version to v0.7.0 or higher. The golang.org/x/text package is being used at version golang.org/x/text v0.3.7, but the patched version is v0.3.8, to fix the vulnerability, we recommend modifying the go.mod file to update the version to v0.3.8 or higher. The github.com/nats-io/nats-server/v2 is being used at version github.com/nats-io/nats-server/v2 v2.8.4, but the patched version is v2.9.3, to fix the vulnerability, we recommend modifying the go.mod file to update the version to v2.9.3 or higher.

Thank you for your attention to this matter.

What did you expect?

Update the dependencies.

What happened instead?

Fix vulnerabilities.