CVE-2016-8858
The kex_input_kexinit function in kex.c in OpenSSH 6.x and 7.x through 7.3 allows remote attackers to cause a denial of service (memory consumption) by sending many duplicate KEXINIT requests. NOTE: a third party reports that "OpenSSH upstream does not consider this as a security issue."
What to do
Likely to be exploited: EPSS gives a 29% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian: 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 16.04 | openssh | Will not fix DoS is limited to attacker's connection only, and openssh upstream does not consider this to be a security issue We do not consider this to be a security… | UBUNTU-CVE-2016-8858 | |
| Ubuntu 14.04 | openssh | Fix pending | UBUNTU-CVE-2016-8858 | |
| Debian 14 | openssh | Fixed | 1:7.3p1-2 | DEBIAN-CVE-2016-8858 |
| Debian 13 | openssh | Fixed | 1:7.3p1-2 | DEBIAN-CVE-2016-8858 |
| Debian 12 | openssh | Fixed | 1:7.3p1-2 | DEBIAN-CVE-2016-8858 |
| Red Hat Enterprise Linux 7 | openssh | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-cavs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server-sysvinit | Not affected | ||
| Red Hat Enterprise Linux 7 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 6 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 5 | openssh | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:33.openssh.asc (vendor-advisory)
- https://security.gentoo.org/glsa/201612-18 (vendor-advisory)
References
- http://www.securityfocus.com/bid/93776
- http://www.openwall.com/lists/oss-security/2016/10/20/1
- https://security.netapp.com/advisory/ntap-20180201-0001/
- http://www.openwall.com/lists/oss-security/2016/10/19/3
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/kex.c.diff?r1=1.126&r2=1.127&f=h
- https://github.com/openssh/openssh-portable/commit/ec165c392ca54317dbe3064a8c200de6531e89ad
- https://ftp.openbsd.org/pub/OpenBSD/patches/6.0/common/013_ssh_kexinit.patch.sig
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:33.openssh.asc
- http://www.securitytracker.com/id/1037057
- https://security.gentoo.org/glsa/201612-18
- https://bugzilla.redhat.com/show_bug.cgi?id=1384860
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/kex.c?rev=1.127&content-type=text/x-cvsweb-markup
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
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.