spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.98k stars 514 forks source link

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

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-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 1 year 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 1 year ago

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

Silence-worker-02 commented 1 year 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.