CVE-2008-5161
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3…
Description
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 18.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.8% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 28 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-329 Generation of Predictable IV with CBC Mode
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) 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 PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-5161 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-5161RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-5161Alpine
apk list --installed | grep -i PACKAGEWith 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-2008-5161
trivy image --scanners vuln IMAGE | grep CVE-2008-5161
Patchbrief 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. Install the agent.
References
Advisories
- http://openssh.org/txt/cbc.adv openssh.org
- 247186 sunsolve.sun.com · vendor advisory
- 33121 secunia.com · third party advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157667 h20566.www2.hpe.com
- 33308 secunia.com · third party advisory
- RHSA-2009:1287 rhn.redhat.com · vendor advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10163 kc.mcafee.com
- 32833 secunia.com · third party advisory
- 36558 secunia.com · third party advisory
- http://www.ssh.com/company/news/article/953/ ssh.com
- 34857 secunia.com · third party advisory
- http://support.attachmate.com/techdocs/2398.html support.attachmate.com
9 more
- http://www.rtpro.yamaha.co.jp/RT/FAQ/Security/CPNI957037.html rtpro.yamaha.co.jp
- 32740 secunia.com · third party advisory
- 32760 secunia.com · third party advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 kb.juniper.net
- https://kc.mcafee.com/corporate/index?page=content&id=SB10106 kc.mcafee.com
- HPSBMA02447 marc.info · vendor advisory
- APPLE-SA-2009-11-09-1 lists.apple.com · vendor advisory
- http://support.apple.com/kb/HT3937 support.apple.com
- VU#958563 kb.cert.org · third party advisory
Other references
- 32319 securityfocus.com · vdb entry
- 49872 osvdb.org · vdb entry
- http://www.cpni.gov.uk/Docs/Vulnerability_Advisory_SSH.txt cpni.gov.uk
- 1021382 securitytracker.com · vdb entry
- 50036 osvdb.org · vdb entry
- 50035 osvdb.org · vdb entry
- 1021235 securitytracker.com · vdb entry
- http://support.avaya.com/elmodocs2/security/ASA-2008-503.htm support.avaya.com
- ADV-2008-3173 vupen.com · vdb entry
- 20081123 Revised: OpenSSH security advisory: cbc.adv securityfocus.com · mailing list
- openssh-sshtectia-cbc-info-disclosure(46620) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2009-1135 vupen.com · vdb entry
7 more
- ADV-2009-3184 vupen.com · vdb entry
- 1021236 securitytracker.com · vdb entry
- http://isc.sans.org/diary.html?storyid=5366 isc.sans.org
- ADV-2008-3409 vupen.com · vdb entry
- ADV-2008-3172 vupen.com · vdb entry
- oval:org.mitre.oval:def:11279 oval.cisecurity.org · vdb entry, signature
- 20081121 OpenSSH security advisory: cbc.adv securityfocus.com · mailing list
Source: the record CVE-2008-5161 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.