CVE-2016-2178
The dsa_sign_setup function in crypto/dsa/dsa_ossl.c in OpenSSL through 1.0.2h does not properly ensure the use of constant-time…
Check your servers for CVE-2016-2178
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-2178 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
The dsa_sign_setup function in crypto/dsa/dsa_ossl.c in OpenSSL through 1.0.2h does not properly ensure the use of constant-time operations, which makes it easier for local users to discover a DSA private key via a timing side-channel attack.
Exploitation
EPSS 1.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.1% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-2178 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-2178RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-2178Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-2178
trivy image --scanners vuln IMAGE | grep CVE-2016-2178
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- RHSA-2017:1659 rhn.redhat.com · vendor advisory
- RHSA-2017:1658 access.redhat.com · vendor advisory
- RHSA-2016:1940 rhn.redhat.com · vendor advisory
- GLSA-201612-16 security.gentoo.org · vendor advisory
- RHSA-2017:0194 access.redhat.com · vendor advisory
- RHSA-2017:0193 access.redhat.com · vendor advisory
- RHSA-2016:2957 rhn.redhat.com · vendor advisory
- FreeBSD-SA-16:26 security.FreeBSD.org · vendor advisory
- SUSE-SU-2016:2470 lists.opensuse.org · vendor advisory
- SUSE-SU-2017:2700 lists.opensuse.org · vendor advisory
- USN-3087-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:2469 lists.opensuse.org · vendor advisory
13 more
- 20160927 Multiple Vulnerabilities in OpenSSL Affecting Cisco Products: September 2016 tools.cisco.com · vendor advisory
- openSUSE-SU-2016:2537 lists.opensuse.org · vendor advisory
- USN-3087-2 ubuntu.com · vendor advisory
- SUSE-SU-2017:2699 lists.opensuse.org · vendor advisory
- openSUSE-SU-2016:2407 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:2458 lists.opensuse.org · vendor advisory
- DSA-3673 debian.org · vendor advisory
- openSUSE-SU-2016:2391 lists.opensuse.org · vendor advisory
- openSUSE-SU-2018:0458 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:2387 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:2468 lists.opensuse.org · vendor advisory
- openSUSE-SU-2016:2496 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:2394 lists.opensuse.org · vendor advisory
Other references
- https://www.tenable.com/security/tns-2016-20 tenable.com
- http://www.splunk.com/view/SP-CAAAPUE splunk.com
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html oracle.com
- [oss-security] 20160609 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html oracle.com
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40312 kb.pulsesecure.net
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03856en_us support.hpe.com
- http://www.splunk.com/view/SP-CAAAPSV splunk.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21995039 www-01.ibm.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html oracle.com
- https://nodejs.org/en/blog/vulnerability/september-2016-security-releases/ nodejs.org
- https://www.tenable.com/security/tns-2016-16 tenable.com
32 more
- https://www.tenable.com/security/tns-2016-21 tenable.com
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html oracle.com
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=399944622df7bd81af62e67ea967c470534090e2 git.openssl.org
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html oracle.com
- 91081 securityfocus.com · vdb entry
- [oss-security] 20160608 CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=1343400 bugzilla.redhat.com
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html oracle.com
- https://bto.bluecoat.com/security-advisory/sa132 bto.bluecoat.com
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html oracle.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05302448 h20566.www2.hpe.com
- 1036054 securitytracker.com · vdb entry
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759 kb.juniper.net
- http://eprint.iacr.org/2016/594.pdf eprint.iacr.org
- https://kc.mcafee.com/corporate/index?page=content&id=SB10215 kc.mcafee.com
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- https://support.f5.com/csp/article/K53084033 support.f5.com
- 20170717 Orion Elite Hidden IP Browser Pro - All Versions - Multiple Known Vulnerabilities seclists.org · mailing list
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en&docId=emr_na-hpesbhf03856en_us support.hpe.com
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05302448 h20566.www2.hpe.com
- [oss-security] 20160608 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- [oss-security] 20160609 Re: CVE-2016-2178: OpenSSL DSA follows a non-constant time codepath for certain operations openwall.com · mailing list
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20170322-01-openssl-en huawei.com
- https://www.arista.com/en/support/advisories-notices/security-advisories/1749-security-advisory-24 arista.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf cert-portal.siemens.com
Source: the record CVE-2016-2178 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse