spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.79k stars 498 forks source link

Vulnerability of dependency "golang.org/x/text" #394

Open Silence-worker-02 opened 12 months ago

Silence-worker-02 commented 12 months 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-32149). In your project, 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. Thank you for your attention to this matter.

jxsl13 commented 12 months ago

if this library does not bump its dependency, you could at least do a hotfix and manually bump that indirect dependency to 0.3.8 in your project.

pjonsson commented 11 months ago

@Silence-worker-02 is this a duplicate of #381?

Silence-worker-02 commented 11 months ago

Yeah, but now the question is still exist. In the latest commit, go.mod still used golang.org/x/text 0.3.7. The fix commit was not merge to the master.