Improper state validation in SSH packet handlers in libssh
Multiple products
At a glance
The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 3.959%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:libssh | libssh | Affected versions: ≤ 0.6.4 |
| Vendor:Canonical | ubuntu linux | Affected versions:12.04Show full version range for ubuntu linux14.0415.10 |
| Vendor:Debian | debian linux | Affected versions:7.0Show full version range for debian linux8.0 |
| Vendor:Fedora | fedora | Affected versions:21Show full version range for fedora22 |
| Vendor:Debian | libssh-4Environments (4)
| Affected versions: < 0.6.3-4.2 |
| Vendor:Debian | libssh-dbgEnvironments (4)
| Affected versions: < 0.6.3-4.2 |
| Vendor:Debian | libssh-devEnvironments (4)
| Affected versions: < 0.6.3-4.2 |
| Vendor:Debian | libssh-docEnvironments (4)
| Affected versions: < 0.6.3-4.2 |
| Vendor:Debian | libssh-gcrypt-4Environments (4)
| Affected versions: < 0.6.3-4.2 |
| Vendor:Debian | libssh-gcrypt-devEnvironments (4)
| Affected versions: < 0.6.3-4.2 |
1–10 of 77 · Page 1 of 8
CVSS scores and metrics7
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hcanonical · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSUSE · SUSE VEX (adp)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:PRed Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories23
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- libssh.org
- debian.org
- libssh.org
- git.libssh.org
- ubuntu.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- SUSE-SU-2015:1707-2
- ubuntu.com
- ubuntu.com
- SUSE CVE-2015-3146
- security-tracker.debian.org
- SUSE-SU-2015:1707-1
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- Mitre CVE-2015-3146
- openSUSE-SU-2015:0860-1
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences