CVE-2018-0739Constructed ASN.1 types with a recursive definition could exceed the stack
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).
What to do
Likely to be exploited: EPSS gives a 19% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | openssl | Fixed | 1.1.0g-2ubuntu3 | UBUNTU-CVE-2018-0739 |
| Ubuntu 18.04 | openssl1.0 | Fixed | 1.0.2n-1ubuntu5 | UBUNTU-CVE-2018-0739 |
| Ubuntu 16.04 | openssl | Fixed | 1.0.2g-1ubuntu4.11 | UBUNTU-CVE-2018-0739 |
| Ubuntu 14.04 | openssl | Fixed | 1.0.1f-1ubuntu2.24 | UBUNTU-CVE-2018-0739 |
| Ubuntu 14.04 | openssl098 | Fix pending | ||
| Debian 14 | libtomcrypt | Fixed | 1.18.2-1 | DEBIAN-CVE-2018-0739 |
| Debian 14 | openssl | Fixed | 1.1.0h-1 | DEBIAN-CVE-2018-0739 |
| Debian 13 | libtomcrypt | Fixed | 1.18.2-1 | DEBIAN-CVE-2018-0739 |
| Debian 13 | openssl | Fixed | 1.1.0h-1 | DEBIAN-CVE-2018-0739 |
| Debian 12 | libtomcrypt | Fixed | 1.18.2-1 | DEBIAN-CVE-2018-0739 |
| Debian 12 | openssl | Fixed | 1.1.0h-1 | DEBIAN-CVE-2018-0739 |
| Red Hat Enterprise Linux 8 | openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Fixed | 0:20180508-3.gitee3198e672e2.el7 | RHSA-2018:3090 |
| Red Hat Enterprise Linux 7 | OVMF | Fixed Will not fix | 0:20180508-3.gitee3198e672e2.el7 | RHSA-2018:3090 |
| Red Hat Enterprise Linux 7 | openssl | Fixed | 1:1.0.2k-16.el7 | RHSA-2018:3221 |
| Red Hat Enterprise Linux 7 | openssl-devel | Fixed | 1:1.0.2k-16.el7 | RHSA-2018:3221 |
| Red Hat Enterprise Linux 7 | openssl-libs | Fixed | 1:1.0.2k-16.el7 | RHSA-2018:3221 |
| Red Hat Enterprise Linux 7 | openssl-perl | Fixed | 1:1.0.2k-16.el7 | RHSA-2018:3221 |
| Red Hat Enterprise Linux 7 | openssl-static | Fixed | 1:1.0.2k-16.el7 | RHSA-2018:3221 |
| Red Hat Enterprise Linux 7 | openssl098e | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ovmf | Fixed | 0:20180508-3.gitee3198e672e2.el7 | RHSA-2018:3090 |
| Red Hat Enterprise Linux 6 | openssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openssl-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | openssl098e | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | openssl097a | Will not fix Out of support scope | ||
| Alpine Linux 3.8 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
| Alpine Linux 3.7 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
| Alpine Linux 3.6 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
| Alpine Linux 3.5 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
| Alpine Linux 3.4 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
| Alpine Linux 3.3 | openssl | Fixed | 1.0.2o-r0 | ALPINE-CVE-2018-0739 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 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)
Vendor advisories:
- https://usn.ubuntu.com/3611-2/ (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4158 (vendor-advisory)
- https://security.gentoo.org/glsa/201811-21 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0367 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4157 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3505 (vendor-advisory)
References
- https://usn.ubuntu.com/3611-2/
- https://www.debian.org/security/2018/dsa-4158
- https://security.gentoo.org/glsa/201811-21
- https://access.redhat.com/errata/RHSA-2019:0367
- https://www.debian.org/security/2018/dsa-4157
- https://access.redhat.com/errata/RHSA-2018:3505
- http://www.securityfocus.com/bid/103518
- http://www.securitytracker.com/id/1040576
- https://access.redhat.com/errata/RHSA-2018:3221
- http://www.securityfocus.com/bid/105609
- https://usn.ubuntu.com/3611-1/
- https://lists.debian.org/debian-lts-announce/2018/03/msg00033.html
- https://access.redhat.com/errata/RHSA-2019:0366
- https://access.redhat.com/errata/RHSA-2018:3090
- https://access.redhat.com/errata/RHSA-2019:1711
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.