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

Update golang.org/x/text #5290

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Update golang.org/x/text #5290

merged 2 commits into from
Feb 23, 2023

Conversation

bk2204
Copy link
Member

@bk2204 bk2204 commented Feb 21, 2023

The version we're using is vulnerable to CVE-2022-32149. We don't use the vulnerable code, but upgrade the remaining golang.org/x packages we depend on, since the text package is merely a dependency of them. In doing so, we'll update the text package, and avoid triggering any warning from vulnerability scanners.

In addition, now that we're using released versions, it will be easier to keep things up to date.

Fixes #5289

The version we're using is vulnerable to CVE-2022-32149.  We don't use
the vulnerable code, but upgrade the remaining golang.org/x packages we
depend on, since the text package is merely a dependency of them.  In
doing so, we'll update the text package, and avoid triggering any
warning from vulnerability scanners.

In addition, now that we're using released versions, it will be easier
to keep things up to date.
One of our dependencies now requires Go 1.17.  Bump the version in
go.mod accordingly.  To please Go, now also run `go mod tidy`, which
separates the indirect dependencies into separate stanzas.
@bk2204 bk2204 marked this pull request as ready for review February 23, 2023 13:38
@bk2204 bk2204 requested a review from a team as a code owner February 23, 2023 13:38
@bk2204 bk2204 merged commit 1a6edaf into git-lfs:main Feb 23, 2023
@bk2204 bk2204 deleted the update-x-text branch February 23, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVE-2022-32149 upgrade golang.org/x/text to v0.3.8
2 participants