Skip to content

Comments

Update golang.org/x/text from 0.3.0 to v0.3.8#5737

Open
zeropath-ai-staging[bot] wants to merge 1 commit intomasterfrom
zvuln_fix_c8cfe2f6
Open

Update golang.org/x/text from 0.3.0 to v0.3.8#5737
zeropath-ai-staging[bot] wants to merge 1 commit intomasterfrom
zvuln_fix_c8cfe2f6

Conversation

@zeropath-ai-staging
Copy link

Summary

Update golang.org/x/text from 0.3.0 to v0.3.8 in owasp-top10-2021-apps/a3/comment-killer/api/go.mod to address GO-2020-0015

View in dashboard

Vulnerability Details

  • Vulnerability Class: GO-2020-0015
  • Severity: 0.0
  • Affected File: owasp-top10-2021-apps/a3/comment-killer/api/go.sum
  • Vulnerable Lines: 1-1

Code Changes

diff --git a/owasp-top10-2021-apps/a3/comment-killer/api/go.mod b/owasp-top10-2021-apps/a3/comment-killer/api/go.mod
--- a/owasp-top10-2021-apps/a3/comment-killer/api/go.mod
+++ b/owasp-top10-2021-apps/a3/comment-killer/api/go.mod
@@ -8,4 +8,5 @@
 	github.com/labstack/gommon v0.3.0 // indirect
 	github.com/stretchr/testify v1.6.1 // indirect
 	golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 // indirect
+	golang.org/x/text v0.3.8 // indirect
 )

diff --git a/owasp-top10-2021-apps/a3/comment-killer/api/go.sum b/owasp-top10-2021-apps/a3/comment-killer/api/go.sum
--- a/owasp-top10-2021-apps/a3/comment-killer/api/go.sum
+++ b/owasp-top10-2021-apps/a3/comment-killer/api/go.sum
@@ -32,8 +32,8 @@
 golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ=
 golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
-golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.8 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
+golang.org/x/text v0.3.8/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

How to Modify the Patch

You can modify this patch by using one of the two methods outlined below. We recommend using the @zeropath-ai bot for updating the code. If you encounter any bugs or issues with the patch, please report them here.

Ask @zeropath-ai!

To request modifications, please post a comment beginning with @zeropath-ai and specify the changes required.

@zeropath-ai will then implement the requested adjustments and commit them to the specified branch in this pull request. Our bot is capable of managing changes across multiple files and various development-related requests.

Manually Modify the Files

# Checkout created branch:
git checkout zvuln_fix_c8cfe2f6

# if vscode is installed run (or use your favorite editor / IDE):
code owasp-top10-2021-apps/a3/comment-killer/api/go.sum

# Add, commit, and push changes:
git add -A
git commit -m "Update generated patch with x, y, and z changes."
git push zvuln_fix_c8cfe2f6

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.

0 participants