-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Security Issues with golang.org/x/text and golang.org/x/crypto #1566
Comments
Scanned for the |
These are both low severity for cobra and "indirect" security problems since we are importing viper:
Regardless, this should have been addressed in #1567 since viper has bumped it's dependency. We'll cut a winter release shortly and get this out soon. |
This issue is being marked as stale due to a long period of inactivity |
So viper dependencies were removed with cobra-cli being extracted, correct? And we've had a new release anyways which the above comment says would have upgraded viper appropriately anyways. Going to let @jpmcb close this since its a security issue but I think this is completed now. |
Correct - this can be closed |
Just like spf13/viper#1176, older versions of
golang.org/x/crypto
andgolang.org/x/text
have security issues reported by CVE with proof of concept attacks.Gemnasium reported these two security issues, which I found in a GItLab Dependencies Security scan.
Details
Loop with Unreachable Exit Condition (Infinite Loop) in golang.org/x/text
Description
The
x/text
package for Go has a vulnerability inencoding/unicode
that could lead to theUTF-16
decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to aUTF16
decoder instantiated withUseBOM
orExpectBOM
to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed togolang.org/x/text/transform.String
.Severity: High
Tool: Dependency Scanning
Scanner: Gemnasium
Location
File: go.sum
Links
Identifiers
Solution
Upgrade to version 0.3.3 or above.
Nil Pointer Dereference in golang.org/x/crypto
Description
A nil pointer dereference in the
golang.org/x/crypto/ssh
component enables remote attackers to cause a DoS against SSH servers.Severity: High
Tool: Dependency Scanning
Scanner: Gemnasium
Location
File: go.sum
Links
Identifiers
Solution
Upgrade to version v0.0.0-20201216223049-8b5274cf687f or above.
The text was updated successfully, but these errors were encountered: