Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-38408 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://cert-portal.siemens.com/productcert/html/ssa-398330.html siemens-SADP
http://packetstormsecurity.com/files/173661/OpenSSH-Forwarded-SSH-Agent-Remote-Code-Execution.html CVEExploitThird Party AdvisoryVDB Entry
https://blog.qualys.com/vulnerabilities-threat-research/2023/07/19/cve-2023-38408-remote-code-execution-in-opensshs-forwarded-ssh-agent CVEThird Party Advisory
https://github.com/openbsd/src/commit/7bc29a9d5cd697290aa056e94ecee6253d3425f8 CVEPatch
https://github.com/openbsd/src/commit/f03a4faa55c4ce0818324701dadbf91988d7351d CVEPatch

see all 41 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-428Unquoted Search Path or Element[email protected]
CWE-428Unquoted Search Path or ElementCISA-ADP

Affected Products

ProductVersions
openbsd openssh
< 9.3
9.3 -
9.3 p1

CPE

  • cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
  • cpe:2.3:a:openbsd:openssh:9.3:-:*:*:*:*:*:*
  • cpe:2.3:a:openbsd:openssh:9.3:p1:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
37
38

CPE

  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

22 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-38408
NVD Published Date:
Jul 20, 2023
NVD Last Modified:
Oct 15, 2026
Source:
[email protected]