CVE-2018-0739
Constructed ASN.1 types with a recursive definition could exceed the stack
Check your servers for CVE-2018-0739
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-2018-0739 affects openssl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Constructed ASN.1 types with a recursive definition (such as can be found in PKCS7) could eventually exceed the stack given malicious input with excessive recursion. This could result in a Denial Of Service attack. There are no such structures used within SSL/TLS that come from untrusted sources so this is considered safe. Fixed in OpenSSL 1.1.0h (Affected 1.1.0-1.1.0g). Fixed in OpenSSL 1.0.2o (Affected 1.0.2b-1.0.2n).
Exploitation
EPSS 17.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.7% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| OpenSSL |
affected Fixed in OpenSSL 1.1.0h (Affected 1.1.0-1.1.0g) affected Fixed in OpenSSL 1.0.2o (Affected 1.0.2b-1.0.2n)
|
Is my server affected?
Find the installed version of openssl 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 openssl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-0739 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-0739RHEL, Rocky, Alma, Fedora
rpm -q openssl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-0739Alpine
apk list --installed | grep -i opensslWith 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-2018-0739
trivy image --scanners vuln IMAGE | grep CVE-2018-0739
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
- USN-3611-2 usn.ubuntu.com · vendor advisory
- DSA-4158 debian.org · vendor advisory
- GLSA-201811-21 security.gentoo.org · vendor advisory
- RHSA-2019:0367 access.redhat.com · vendor advisory
- DSA-4157 debian.org · vendor advisory
- RHSA-2018:3505 access.redhat.com · vendor advisory
- RHSA-2018:3221 access.redhat.com · vendor advisory
- USN-3611-1 usn.ubuntu.com · vendor advisory
- RHSA-2019:0366 access.redhat.com · vendor advisory
- RHSA-2018:3090 access.redhat.com · vendor advisory
- RHSA-2019:1711 access.redhat.com · vendor advisory
- RHSA-2019:1712 access.redhat.com · vendor advisory
15 more
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html oracle.com
- https://security.netapp.com/advisory/ntap-20180726-0002/ security.netapp.com
- GLSA-202007-53 security.gentoo.org · vendor advisory
- https://securityadvisories.paloaltonetworks.com/Home/Detail/133 securityadvisories.paloaltonetworks.com
- https://www.tenable.com/security/tns-2018-07 tenable.com
- https://www.tenable.com/security/tns-2018-04 tenable.com
- https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/ nodejs.org
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2ac4c6f7b2b2af20c0e2b0ba05367e454cd11b33 git.openssl.org
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9310d45087ae546e27e61ddf8f6367f29848220d git.openssl.org
- https://www.tenable.com/security/tns-2018-06 tenable.com
- https://security.netapp.com/advisory/ntap-20180330-0002/ security.netapp.com
- https://www.openssl.org/news/secadv/20180327.txt openssl.org
Other references
- 103518 securityfocus.com · vdb entry
- 1040576 securitytracker.com · vdb entry
- 105609 securityfocus.com · vdb entry
- [debian-lts-announce] 20180330 [SECURITY] [DLA 1330-1] openssl security update lists.debian.org · mailing list
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html oracle.com
- https://www.oracle.com//security-alerts/cpujul2021.html oracle.com
Source: the record CVE-2018-0739 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