Vulnerabilities · 2023 · Openbsd
CVE-2023-38408
Openbsd Openssh vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Openssh, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd Openssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.openssh.com/security.html · Vendor Advisory
- github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8 · Patch
- github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351d · Patch
- github.com/openbsd/src/commit/f8f5a6b003981bb824329dc987d101977beda7ca · Patch
- news.ycombinator.com/item?id=36790196 · Patch
- packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.htm · Exploit
- www.openwall.com/lists/oss-security/2023/07/20/1 · Exploit
- www.openwall.com/lists/oss-security/2023/07/20/2 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-38408
- cve.org/CVERecord?id=CVE-2023-38408
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.