Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-6515 EUVD-2016-7437GHSA-vf2p-h3m7-ch75

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication, whic…

Published Aug 7, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication, which allows remote attackers to cause a denial of service (crypt CPU consumption) via a long string.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:7.3p1-1 —
Debian 13 openssh 1:7.3p1-1 —
Debian 12 openssh 1:7.3p1-1 —
Debian 8 openssh 1:6.7p1-5+deb8u6 DLA-1500-1
Debian 7 openssh 1:6.0p1-4+deb7u6 DLA-594-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS openssh 1:7.2p2-4ubuntu2.1 USN-3061-1
Ubuntu 14.04 LTS openssh 1:6.6p1-2ubuntu2.8 USN-3061-1
ReleasePackageFixed inAdvisory
RHEL 7 openssh +7 7.4p1-11.el7 RHSA-2017:2029
RHEL 7 pam_ssh_agent_auth 0.10.3-1.11.el7 RHSA-2017:2029
ReleasePackageFixed inAdvisory
SLES 12 SP1 openssh +1 6.6p1-52.1 SUSE-SU-2016:2280-1
SLES 12 openssh +1 6.6p1-52.1 SUSE-SU-2016:2280-1
SLES 11 SP4 openssh 6.6p1-28.1 SUSE-SU-2016:2281-1
SLES 11 SP4 openssh-askpass-gnome 6.6p1-28.2 SUSE-SU-2016:2281-1
SLES 11 SP3 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SLES 11 SP3 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SLES 11 openssh-openssl1 6.6p1-15.1 SUSE-SU-2016:2555-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 openssh +1 6.6p1-52.1 SUSE-SU-2016:2280-1
SLES for SAP 12 openssh +1 6.6p1-52.1 SUSE-SU-2016:2280-1
SLES for SAP 11 SP4 openssh 6.6p1-28.1 SUSE-SU-2016:2281-1
SLES for SAP 11 SP4 openssh-askpass-gnome 6.6p1-28.2 SUSE-SU-2016:2281-1
SUSE OpenStack Cloud 5 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE OpenStack Cloud 5 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Manager Proxy 2.1 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Manager Proxy 2.1 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Manager 2.1 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Manager 2.1 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Linux Enterprise Point of Sale 11 SP3 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Linux Enterprise Point of Sale 11 SP3 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 7.2p2-3.1 openSUSE-SU-2024:10174-1
ReleasePackageFixed inAdvisory
Alpine v3.4 openssh 7.2_p2-r2 —
Alpine v3.3 openssh 7.2_p2-r2 —
Alpine v3.2 openssh 6.8_p1-r8 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 openssh +7 7.4p1-11.el7 ELSA-2017-2029
Oracle Linux 7 pam_ssh_agent_auth 0.10.3-1.11.el7 ELSA-2017-2029

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 14

References