Loop with Unreachable Exit Condition ('Infinite Loop') Affecting golang-tests package, versions <0:1.6.3-1.el7_2.1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.72% (91st 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-RHEL7-GOLANGTESTS-4614558
  • published26 Jul 2021
  • disclosed5 Apr 2016

Introduced: 5 Apr 2016

CVE-2016-3959  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:7 golang-tests to version 0:1.6.3-1.el7_2.1 or higher.
This issue was patched in RHSA-2016:1538.

NVD Description

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

The Verify function in crypto/dsa/dsa.go in Go before 1.5.4 and 1.6.x before 1.6.1 does not properly check parameters passed to the big integer library, which might allow remote attackers to cause a denial of service (infinite loop) via a crafted public key to a program that uses HTTPS client certificates or SSH server libraries.