7.5high

CVE-2016-3959

Denial of service due to unchecked parameters in crypto/dsa

Also known as GO-2022-0166

Published 10 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.4%
percentile 91%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

4.36% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected packages

EcosystemPackageAffectedFixed in
gostdlib
<1.5.4
>=1.6.0-0, <1.6.1
1.5.4
1.6.1

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • openwall.com /lists/oss-security/2016/04/05/2 · mailing-list, x_refsource_MLIST, x_transferred
  • go-review.googlesource.com /#/c/21533/ · x_refsource_CONFIRM, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-1538.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • lists.fedoraproject.org /pipermail/package-announce/2016-April/182526.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • groups.google.com /forum/#%21topic/golang-announce/9eqIHqaWvck · mailing-list, x_refsource_MLIST, x_transferred
  • lists.fedoraproject.org /pipermail/package-announce/2016-April/183106.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • lists.opensuse.org /opensuse-updates/2016-05/msg00077.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • openwall.com /lists/oss-security/2016/04/05/1 · mailing-list, x_refsource_MLIST, x_transferred
  • lists.fedoraproject.org /pipermail/package-announce/2016-April/183137.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • go.dev /cl/21533 · fix
  • go.googlesource.com /go/+/eb876dd83cb8413335d64e50aae5d38337d1ebb4 · fix
  • go.dev /issue/15184 · report
  • groups.google.com /g/golang-announce/c/9eqIHqaWvck · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.