Improper Certificate Validation Affecting golang-bin package, versions <0:1.15.14-1.69.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.26% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-GOLANGBIN-1726434
  • published27 Sept 2021
  • disclosed15 Jul 2021

Introduced: 15 Jul 2021

CVE-2021-34558  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 golang-bin to version 0:1.15.14-1.69.amzn1 or higher.
This issue was patched in ALAS-2021-1527.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-bin package and not the golang-bin package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.

References

CVSS Scores

version 3.1