CVE-2023-38408
openssh: Remote code execution in ssh-agent PKCS#11 support
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, CBL-Mariner, Julia, Photon OS. Daha düşük diyenler: Red Hat (yüksek), AlmaLinux (yüksek), Amazon (yüksek), Oracle (yüksek), Rocky Linux (yüksek), Ubuntu (orta).
Açıklama
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| CBL-Mariner 1.0 | openssh | 0:8.9p1-3.cm1 |
| CBL-Mariner 2.0 | openssh | 0:8.9p1-1.cm2 |
| julia::Julia Ecosystem Security Advisories | OpenSSH_jll | 9.3.2+0 |
| Photon OS 3.0 | openssh | 7.8p1-16.ph3 |
| Photon OS 4.0 | openssh, openssh-clients, openssh-server ve 1 tane daha | 8.9p1-1.ph4 |
| Photon OS 5.0 | openssh, openssh-clients, openssh-server ve 1 tane daha | 9.3p2-1.ph5 |
| alma 8 | openssh, openssh-askpass, openssh-cavs ve 5 tane daha | 8.0p1-19.el8_8 ve 1 tane daha |
| alma 9 | openssh, openssh-askpass, openssh-clients ve 3 tane daha | 8.7p1-30.el9_2 ve 1 tane daha |
| alpine 3.16 | openssh | 9.0_p1-r4 |
| alpine 3.17 | openssh | 9.1_p1-r4 |
| alpine 3.19 | openssh | 0 |
| alpine 3.20 | openssh | 0 |
55 kaynaktaki 141 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| CBL-Mariner 1.0 | openssh | 0:8.9p1-3.cm1 |
| CBL-Mariner 2.0 | openssh | 0:8.9p1-1.cm2 |
| julia::Julia Ecosystem Security Advisories | OpenSSH_jll | 9.3.2+0 |
| Photon OS 3.0 | openssh | 7.8p1-16.ph3 |
| Photon OS 4.0 | openssh | 8.9p1-1.ph4 |
| Photon OS 4.0 | openssh-clients | 8.9p1-1.ph4 |
| Photon OS 4.0 | openssh-server | 8.9p1-1.ph4 |
| Photon OS 4.0 | openssh-socket | 8.9p1-1.ph4 |
| Photon OS 5.0 | openssh | 9.3p2-1.ph5 |
| Photon OS 5.0 | openssh-clients | 9.3p2-1.ph5 |
| Photon OS 5.0 | openssh-server | 9.3p2-1.ph5 |
| Photon OS 5.0 | openssh-socket | 9.3p2-1.ph5 |
| alma 8 | openssh | 8.0p1-19.el8_8 |
| alma 8 | openssh-askpass | 8.0p1-19.el8_8 |
| alma 8 | openssh-cavs | 8.0p1-19.el8_8 |
| alma 8 | openssh-clients | 8.0p1-19.el8_8 |
| alma 8 | openssh-keycat | 8.0p1-19.el8_8 |
| alma 8 | openssh-ldap | 8.0p1-19.el8_8 |
| alma 8 | openssh-server | 8.0p1-19.el8_8 |
| alma 8 | pam_ssh_agent_auth | 0.10.3-7.19.el8_8 |
| alma 9 | openssh | 8.7p1-30.el9_2 |
| alma 9 | openssh-askpass | 8.7p1-30.el9_2 |
| alma 9 | openssh-clients | 8.7p1-30.el9_2 |
| alma 9 | openssh-keycat | 8.7p1-30.el9_2 |
| alma 9 | openssh-server | 8.7p1-30.el9_2 |
| alma 9 | pam_ssh_agent_auth | 0.10.4-5.30.el9_2 |
| alpine 3.16 | openssh | 9.0_p1-r4 |
| alpine 3.17 | openssh | 9.1_p1-r4 |
| alpine 3.19 | openssh | 0 |
| alpine 3.20 | openssh | 0 |
| alpine 3.21 | openssh | 0 |
| alpine 3.22 | openssh | 0 |
| alpine 3.23 | openssh | 0 |
| alpine 3.24 | openssh | 0 |
| alpine edge | openssh | 0 |
| amazon linux 1 | openssh | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-cavs | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-clients | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-debuginfo | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-keycat | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-ldap | 7.4p1-22.80.amzn1 |
| amazon linux 1 | openssh-server | 7.4p1-22.80.amzn1 |
| amazon linux 1 | pam_ssh_agent_auth | 0.10.3-2.22.80.amzn1 |
| amazon linux 2 | openssh | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-askpass | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-cavs | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-clients | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-debuginfo | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-keycat | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-ldap | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-server | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | openssh-server-sysvinit | 7.4p1-22.amzn2.0.3 |
| amazon linux 2 | pam_ssh_agent_auth | 0.10.3-2.22.amzn2.0.3 |
| amazon linux 2023 | openssh | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-clients | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-clients-debuginfo | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-debuginfo | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-debugsource | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-keycat | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-keycat-debuginfo | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-server | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | openssh-server-debuginfo | 8.7p1-8.amzn2023.0.7 |
| amazon linux 2023 | pam_ssh_agent_auth | 0.10.4-4.8.amzn2023.0.7 |
| amazon linux 2023 | pam_ssh_agent_auth-debuginfo | 0.10.4-4.8.amzn2023.0.7 |
| chainguard | openssh | 9.3_p2-r0 |
| debian 10 | openssh | 1:7.9p1-10+deb10u3 |
| debian 11 | openssh | 1:8.4p1-5+deb11u2 |
| debian 12 | openssh | 1:9.2p1-2+deb12u1 |
| debian 13 | openssh | 1:9.3p2-1 |
| debian 14 | openssh | 1:9.3p2-1 |
| echo | openssh | 1:9.2p1-2+deb12u1 |
| Oracle Linux 6 | openssh | 5.3p1-124.0.2.el6_10 |
| Oracle Linux 6 | openssh-askpass | 5.3p1-124.0.2.el6_10 |
| Oracle Linux 6 | openssh-clients | 5.3p1-124.0.2.el6_10 |
| Oracle Linux 6 | openssh-ldap | 5.3p1-124.0.2.el6_10 |
| Oracle Linux 6 | openssh-server | 5.3p1-124.0.2.el6_10 |
| Oracle Linux 6 | pam_ssh_agent_auth | 0.9.3-124.0.2.el6_10 |
| Oracle Linux 7 | openssh | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-askpass | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-cavs | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-clients | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-keycat | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-ldap | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-server | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | openssh-server-sysvinit | 7.4p1-23.0.1.el7_9 |
| Oracle Linux 7 | pam_ssh_agent_auth | 0.10.3-2.23.0.1.el7_9 |
| Oracle Linux 8 | openssh | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-askpass | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-cavs | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-clients | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-keycat | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-ldap | 8.0p1-19.el8_8 |
| Oracle Linux 8 | openssh-server | 8.0p1-19.el8_8 |
| Oracle Linux 8 | pam_ssh_agent_auth | 0.10.3-7.19.el8_8 |
| Oracle Linux 9 | openssh | 8.7p1-30.el9_2 |
| Oracle Linux 9 | openssh-askpass | 8.7p1-30.el9_2 |
| Oracle Linux 9 | openssh-clients | 8.7p1-30.el9_2 |
| Oracle Linux 9 | openssh-keycat | 8.7p1-30.el9_2 |
| Oracle Linux 9 | openssh-server | 8.7p1-30.el9_2 |
| Oracle Linux 9 | pam_ssh_agent_auth | 0.10.4-5.30.el9_2 |
| rapidfort amazon linux 2023 | openssh | 8.7p1-8.amzn2023.0.7 |
| rapidfort amazon linux 2023 | openssh-clients | 8.7p1-8.amzn2023.0.7 |
| rapidfort amazon linux 2023 | openssh-keycat | 8.7p1-8.amzn2023.0.7 |
| rapidfort amazon linux 2023 | pam_ssh_agent_auth | 0.10.4-4.8.amzn2023.0.7 |
| rapidfort Oracle Linux 9 | openssh | 0:8.7p1-30.el9_2 |
| rapidfort Oracle Linux 9 | openssh-askpass | 0:8.7p1-30.el9_2 |
| rapidfort Oracle Linux 9 | openssh-clients | 0:8.7p1-30.el9_2 |
| rapidfort Oracle Linux 9 | openssh-keycat | 0:8.7p1-30.el9_2 |
| rapidfort Oracle Linux 9 | openssh-server | 0:8.7p1-30.el9_2 |
| rapidfort Oracle Linux 9 | pam_ssh_agent_auth | 0:0.10.4-5.30.el9_2 |
| rapidfort rocky 9 | openssh | 0:8.7p1-30.el9_2 |
| rocky 8 | openssh | 8.0p1-19.el8_8 |
| rocky 8 | openssh-askpass | 8.0p1-19.el8_8 |
| rocky 8 | openssh-cavs | 8.0p1-19.el8_8 |
| rocky 8 | openssh-clients | 8.0p1-19.el8_8 |
| rocky 8 | openssh-keycat | 8.0p1-19.el8_8 |
| rocky 8 | openssh-ldap | 8.0p1-19.el8_8 |
| rocky 8 | openssh-server | 8.0p1-19.el8_8 |
| rocky 8 | pam_ssh_agent_auth | 0.10.3-7.19.el8_8 |
| root.io debian 11 | rootio-openssh | 1:8.4p1-5+deb11u2 |
| root.io debian 12 | rootio-openssh | 1:9.2p1-2+deb12u1 |
| root.io debian 13 | rootio-openssh | 1:9.3p2-1 |
| seal Red Hat 6 | openssh | 5.3p1-124.el6_10+sp999 |
| seal Red Hat 6 | seal-openssh | 5.3p1-124.el6_10+sp999 |
| seal Red Hat 7 | openssh | 7.4p1-23.0.3.el7_9+sp999 |
| seal Red Hat 7 | seal-openssh | 7.4p1-23.0.3.el7_9+sp999 |
| ubuntu 14.04-ESM | openssh | 1:6.6p1-2ubuntu2.13+esm1 |
| ubuntu 16.04-ESM | openssh | 1:7.2p2-4ubuntu2.10+esm3 |
| ubuntu 18.04-ESM | openssh | 1:7.6p1-4ubuntu0.7+esm1 |
| ubuntu 20.04 | openssh | 1:8.2p1-4ubuntu0.8 |
| ubuntu 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.8 |
| ubuntu 22.04 | openssh | 1:8.9p1-3ubuntu0.3 |
| ubuntu 23.04 | openssh | 1:9.0p1-1ubuntu8.4 |
| ubuntu 23.10 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 24.04 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 24.10 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 25.04 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 25.10 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 26.04 | openssh | 1:9.3p1-1ubuntu2 |
| ubuntu 26.10 | openssh | 1:9.3p1-1ubuntu2 |
| wolfi | openssh | 9.3_p2-r0 |
Referanslar
- http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2023/07/20/1
- http://www.openwall.com/lists/oss-security/2023/07/20/2
- http://www.openwall.com/lists/oss-security/2023/09/22/11
- http://www.openwall.com/lists/oss-security/2023/09/22/9
- https://access.redhat.com/errata/RHSA-2023:4412
- https://access.redhat.com/security/cve/CVE-2023-38408
- https://blog.qualys.com/vulnerabilities-threat-research/2023/07/19/cve-2023-38408-remote-code-execution-in-opensshs-forwarded-ssh-agent
34 referansın hepsi
- https://bugzilla.redhat.com/2224173
- https://bugzilla.redhat.com/show_bug.cgi?id=2224173
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38408
- https://errata.almalinux.org/9/ALSA-2023-4412.html
- https://errata.rockylinux.org/RLSA-2023:4419
- https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8
- https://github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351d
- https://github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7ca
- https://linux.oracle.com/cve/CVE-2023-38408.html
- https://linux.oracle.com/errata/ELSA-2023-4428.html
- https://lists.debian.org/debian-lts-announce/2023/08/msg00021.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CEBTJJINE2I3FHAUKKNQWMFGYMLSMWKQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RAXVQS6ZYTULFAK3TEJHRLKZALJS3AOU/
- https://news.ycombinator.com/item?id=36790196
- https://nvd.nist.gov/vuln/detail/CVE-2023-38408
- https://security.gentoo.org/glsa/202307-01
- https://security.netapp.com/advisory/ntap-20230803-0010/
- https://support.apple.com/kb/HT213940
- https://ubuntu.com/security/notices/USN-6242-1
- https://ubuntu.com/security/notices/USN-6242-2
- https://www.cve.org/CVERecord?id=CVE-2023-38408
- https://www.openssh.com/security.html
- https://www.openssh.com/txt/release-9.3p2
- https://www.qualys.com/2023/07/19/cve-2023-38408/rce-openssh-forwarded-ssh-agent.txt
- https://www.vicarius.io/vsociety/posts/exploring-opensshs-agent-forwarding-rce-cve-2023-38408