{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-5161 exists.","fix":"Apply the vendor's patch.","what":"CVE-2008-5161 is a low-severity vulnerability in OpenSSH, published on 19 Nov 2008. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2008-5161 and fix it if it is affected.\n\nWhat it is: CVE-2008-5161 is a low-severity vulnerability in OpenSSH, published on 19 Nov 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-5161 exists.\n\nAffected product: OpenSSH. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2008-5161/ (Markdown: https://insights.sbomify.com/CVE-2008-5161/index.md)","id":"CVE-2008-5161","markdown":"https://insights.sbomify.com/CVE-2008-5161/index.md","name":"CVE-2008-5161","record":{"aliases":["DEBIAN-CVE-2008-5161","GHSA-c9pj-mwph-2xjm","RHSA-2009:1287"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SSH server software","requires_auth":"none","summary":"Remote attackers can recover plaintext data from SSH sessions using CBC mode ciphers due to error handling flaws in SSH implementations.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openssh","vendor":"openbsd"},{"product":"tectia_client","vendor":"ssh"},{"product":"tectia_connector","vendor":"ssh"},{"product":"tectia_connectsecure","vendor":"ssh"},{"product":"tectia_server","vendor":"ssh"}],"cvss":{"score":3.7,"severity":"low","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-329","name":"Generation of Predictable IV with CBC Mode"}],"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.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":0,"first_seen":"2025-10-08","github_poc":1,"max_poc_stars":0,"metasploit":1,"nuclei":0,"refs":[{"date":"2025-10-08T12:08:27Z","kind":"github_poc","ref":"https://github.com/talha3117/OpenSSH-4.7p1-CVE-2008-5161-Exploit","stars":0,"title":"CVE-2008-5161 OpenSSH 4.7p1 Audit Helper Automates version checking and credential auditing of legacy OpenSSH 4.7p1 (Debian-8ubuntu1) targets by driving Metasploit’s auxiliary/scanner/ssh/ssh_login module from Python via pwntools."},{"date":null,"kind":"metasploit","ref":"auxiliary/scanner/ssh/ssh_version","stars":null,"title":"SSH Version Scanner"}],"tier":"weaponised"},"has_fix":true,"headline":"Information disclosure in n/a","id":"CVE-2008-5161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"openbsd:openssh","products":["openbsd:openssh"],"type":"information_disclosure","year":"2008"},"n_packages":10,"n_references":41,"next":{"headline":"Weak cryptography in n/a","id":"CVE-2008-5162"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh","purl":"pkg:rpm/redhat/openssh","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-askpass","purl":"pkg:rpm/redhat/openssh-askpass","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-clients","purl":"pkg:rpm/redhat/openssh-clients","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-debuginfo","purl":"pkg:rpm/redhat/openssh-debuginfo","source":"RHSA-2009:1287"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:4.3p2-36.el5"],"introduced":["0"],"last_affected":[],"package":"openssh-server","purl":"pkg:rpm/redhat/openssh-server","source":"RHSA-2009:1287"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2008-5160"},"products":["n/a"],"published":"2008-11-19","related":[{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2003-0786","kev_date_added":null,"published":"2003-09-25"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2003-0693","kev_date_added":null,"published":"2003-09-17"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2002-0640","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2001-0144","kev_date_added":null,"published":"2001-05-07"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2000-0999","kev_date_added":null,"published":"2000-11-29"},{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2000-0525","kev_date_added":null,"published":"2000-10-13"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2010-4478","kev_date_added":null,"published":"2010-12-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["n/a"]},"summary":"Remote attackers can recover plaintext data from SSH sessions using CBC mode ciphers due to error handling flaws in SSH implementations.","url":"https://insights.sbomify.com/CVE-2008-5161/"}