eddycjy / go-gin-example

An example of gin
MIT License
6.82k stars 1.59k forks source link

Vulnerability of dependency "golang.org/x/net" #154

Open Silence-worker-02 opened 1 year ago

Silence-worker-02 commented 1 year ago

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). In your project, the golang.org/x/net package is being used at version golang.org/x/net v0.0.0-20190611141213-3f473d35a33a, 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. Thank you for your attention to this matter.

Silence-worker-02 commented 1 year ago

We also came across your project and noticed that it contains a vulnerability (CVE-2023-26125). In your project, the github.com/gin-gonic/gin package is being used at version github.com/gin-gonic/gin v1.4.0, but the patched version is vv1.9.0. To fix the vulnerability, we recommend modifying the go.mod file to update the version to vv1.9.0 or higher. Thank you for your attention to this matter.