Bumps golang.org/x/crypto from 0.0.0-20190308221718-c2843e01d9a2 to 0.1.0. This update includes security fixes.
Vulnerabilities fixed
Improper Verification of Cryptographic Signature in golang.org/x/crypto
golang.org/x/crypto before v0.0.0-20200220183623-bac4c82f6975 for Go allows a panic during signature verification in the golang.org/x/crypto/ssh package. A client can attack an SSH server that accepts public keys. Also, a server can attack any SSH client.
Use of a Broken or Risky Cryptographic Algorithm in golang.org/x/crypto/ssh
golang.org/x/crypto/ssh versions 0.0.0-20220214200702-86341886e292 and prior in Go through 1.16.15 and 1.17.x through 1.17.8 allows an attacker to crash a server in certain circumstances involving AddHostKey. Version 0.0.0-20220315160706-3147a52a75dd includes a fix for the vulnerability and support for SHA-2.
Panic in malformed cerftificate
The Helm core maintainers have identified a high severity security vulnerability in Go's crypto package affecting all versions prior to Helm 2.16.8 and Helm 3.1.0.
Thanks to @ravin9249 for identifying the vulnerability.
Impact
Go before 1.12.16 and 1.13.x before 1.13.7 (and the crypto/cryptobyte package before 0.0.0-20200124225646-8b5121be2f68 for Go) allows attacks on clients resulting in a panic via a malformed X.509 certificate. This may allow a remote attacker to cause a denial of service.
Patches
A patch to compile Helm against Go 1.14.4 has been provided for Helm 2 and is available in Helm 2.16.8. Helm 3.1.0 and newer are compiled against Go 1.13.7+.
Workarounds
No workaround is available. Users are urged to upgrade.
x/crypto/ssh vulnerable to panic via SSH server
The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an unauthenticated attacker to panic an SSH server.
golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability
A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against SSH servers.
golang.org/x/crypto/salsa20/salsa uses insufficiently random values
An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20190308221718-c2843e01d9a2 to 0.1.0. **This update includes security fixes.**
<details>
<summary>Vulnerabilities fixed</summary>
<blockquote>
<p><strong>Improper Verification of Cryptographic Signature in golang.org/x/crypto</strong>
golang.org/x/crypto before v0.0.0-20200220183623-bac4c82f6975 for Go allows a panic during signature verification in the golang.org/x/crypto/ssh package. A client can attack an SSH server that accepts public keys. Also, a server can attack any SSH client.</p>
<p>Patched versions: 0.0.0-20200220183623-bac4c82f6975; 0.0.0-20200220183623-bac4c82f6975
Affected versions: <= 0.0.0-20200220183622; < 0.0.0-20200220183623-bac4c82f6975</p>
</blockquote>
<blockquote>
<p><strong>Use of a Broken or Risky Cryptographic Algorithm in golang.org/x/crypto/ssh</strong>
golang.org/x/crypto/ssh versions 0.0.0-20220214200702-86341886e292 and prior in Go through 1.16.15 and 1.17.x through 1.17.8 allows an attacker to crash a server in certain circumstances involving AddHostKey. Version 0.0.0-20220315160706-3147a52a75dd includes a fix for the vulnerability and support for SHA-2.</p>
<p>Patched versions: 0.0.0-20220314234659-1baeb1ce4c0b
Affected versions: < 0.0.0-20220314234659-1baeb1ce4c0b</p>
</blockquote>
<blockquote>
<p><strong>Panic in malformed cerftificate</strong>
The Helm core maintainers have identified a high severity security vulnerability in Go's <code>crypto</code> package affecting all versions prior to Helm 2.16.8 and Helm 3.1.0.</p>
<p>Thanks to <a href="https://github.com/ravin9249"><code>@ravin9249</code></a> for identifying the vulnerability.</p>
<h3>Impact</h3>
<p>Go before 1.12.16 and 1.13.x before 1.13.7 (and the <code>crypto/cryptobyte</code> package before 0.0.0-20200124225646-8b5121be2f68 for Go) allows attacks on clients resulting in a panic via a malformed X.509 certificate. This may allow a remote attacker to cause a denial of service.</p>
<h3>Patches</h3>
<p>A patch to compile Helm against Go 1.14.4 has been provided for Helm 2 and is available in Helm 2.16.8. Helm 3.1.0 and newer are compiled against Go 1.13.7+.</p>
<h3>Workarounds</h3>
<p>No workaround is available. Users are urged to upgrade.</p>
<h3>References</h3>
<ul>
<li><a href="https://nvd.nist.gov/vuln/detail/CVE-2020-7919">https://nvd.nist.gov/vuln/detail/CVE-2020-7919</a></li>
<li><a href="https://github.com/helm/helm/pull/8288">helm/helm#8288</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
<blockquote>
<p>Patched versions: 0.0.0-20200124225646-8b5121be2f68
Affected versions: < 0.0.0-20200124225646-8b5121be2f68</p>
</blockquote>
<blockquote>
<p><strong>x/crypto/ssh vulnerable to panic via SSH server</strong>
The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an unauthenticated attacker to panic an SSH server.</p>
<p>Patched versions: 0.0.0-20211202192323-5770296d904e
Affected versions: < 0.0.0-20211202192323-5770296d904e</p>
</blockquote>
<blockquote>
<p><strong>golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability</strong>
A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against SSH servers.</p>
<p>Patched versions: 0.0.0-20201216223049-8b5274cf687f
Affected versions: < 0.0.0-20201216223049-8b5274cf687f</p>
</blockquote>
<blockquote>
<p><strong>golang.org/x/crypto/salsa20/salsa uses insufficiently random values</strong>
An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.</p>
<p>Patched versions: 0.0.0-20190320223903-b7391e95e576
Affected versions: < 0.0.0-20190320223903-b7391e95e576</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/golang/crypto/commits/v0.1.0">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps golang.org/x/crypto from 0.0.0-20190308221718-c2843e01d9a2 to 0.1.0. This update includes security fixes.
Vulnerabilities fixed
... (truncated)
Commits
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts$dependabot recreate
⚠️
dependabotis recreating merge request. All changes will be overwritten! ⚠️❌
dependabotfailed recreating merge request.added 2 commits
73c9ee45- 1 commit from branchmaster9c63d00b- [Security] Bump golang.org/x/cryptoCompare with previous version
resolved all threads