Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openbsd | Openssh | < 9.3 |
| Fedoraproject | Fedora | 37 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-CExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2023/07/20/1ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/07/20/2Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/09/22/11
- http://www.openwall.com/lists/oss-security/2023/09/22/9
- https://blog.qualys.com/vulnerabilities-threat-research/2023/07/19/cve-2023-3840Third Party Advisory
- https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8Patch
- https://github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351dPatch
- https://github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7caPatch
- https://lists.debian.org/debian-lts-announce/2023/08/msg00021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://news.ycombinator.com/item?id=36790196Issue TrackingPatch
- https://security.gentoo.org/glsa/202307-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230803-0010/
FAQ
What is CVE-2023-38408?
CVE-2023-38408 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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. (Cod...
How severe is CVE-2023-38408?
CVE-2023-38408 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-38408?
Check the references section above for vendor advisories and patch information. Affected products include: Openbsd Openssh, Fedoraproject Fedora.