CVE-2015-3193
The Montgomery squaring implementation in crypto/bn/asm/x86_64-mont5.pl in OpenSSL 1.0.2 before 1.0.2e on the x86_64 platform, as used…
Check your servers for CVE-2015-3193
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-3193 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The Montgomery squaring implementation in crypto/bn/asm/x86_64-mont5.pl in OpenSSL 1.0.2 before 1.0.2e on the x86_64 platform, as used by the BN_mod_exp function, mishandles carry propagation and produces incorrect output, which makes it easier for remote attackers to obtain sensitive private-key information via an attack against use of a (1) Diffie-Hellman (DH) or (2) Diffie-Hellman Ephemeral (DHE) ciphersuite.
Exploitation
EPSS 25.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.4% of all scored CVEs. Scores of 28 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-2015-3193 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-3193RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-3193Alpine
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-2015-3193
trivy image --scanners vuln IMAGE | grep CVE-2015-3193
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 and one domain or read how to install the collector.
References
Advisories
- 20151204 Multiple Vulnerabilities in OpenSSL (December 2015) Affecting Cisco Products tools.cisco.com · vendor advisory
- SSA:2015-349-04 slackware.com · vendor advisory
- SSA:2015-349-01 slackware.com · vendor advisory
- USN-2830-1 ubuntu.com · vendor advisory
Other references
- https://kb.isc.org/article/AA-01438 kb.isc.org
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html oracle.com
- https://blog.fuzzing-project.org/31-Fuzzing-Math-miscalculations-in-OpenSSLs-BN_mod_exp-CVE-2015-3193.html blog.fuzzing-project.org
- http://www.fortiguard.com/advisory/openssl-advisory-december-2015 fortiguard.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html oracle.com
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40100 kb.pulsesecure.net
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761 kb.juniper.net
- 78705 securityfocus.com · vdb entry
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html oracle.com
- 91787 securityfocus.com · vdb entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1288317 bugzilla.redhat.com
- http://openssl.org/news/secadv/20151203.txt openssl.org
6 more
- 1034294 securitytracker.com · vdb entry
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=d73cc256c8e256c32ed959456101b73ba9842f72 git.openssl.org
- http://fortiguard.com/advisory/openssl-advisory-december-2015 fortiguard.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05398322 h20566.www2.hpe.com
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759 kb.juniper.net
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf cert-portal.siemens.com
Source: the record CVE-2015-3193 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