Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-3959 EUVD-2016-4968GHSA-w7w7-9368-hffmGO-2022-0166

Denial of service due to unchecked parameters in crypto/dsa

Published May 23, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 7 golang +5 1.6.3-1.el7_2.1 RHSA-2016:1538
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go 1.7.0-2.1 openSUSE-SU-2024:10028-1
openSUSE Tumbleweed go1.10 1.10.8-8.2 openSUSE-SU-2024:10803-1
openSUSE Tumbleweed go1.11 1.11.13-10.5 openSUSE-SU-2024:10804-1
openSUSE Tumbleweed go1.12 1.12.17-4.8 openSUSE-SU-2024:10805-1
openSUSE Tumbleweed go1.9 1.9.7-11.2 openSUSE-SU-2024:10812-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • alexmullins/dsa ★ 1 · Apr 10, 2016

    Analysis of CVE-2016-3959 and a Proof of Concept Attack Against a Go SSH Server.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.5.4 · >= 1.6.0-0, < 1.6.1 1.5.4, 1.6.1 GO-2022-0166

Advisories 6

References